Skip to content

Commit

Permalink
FIx: Load quantifier period praise to prevent page reload error
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Jul 26, 2022
1 parent 687dee2 commit 23fdb3a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
PeriodPageParams,
PeriodQuantifierReceivers,
SinglePeriod,
usePeriodQuantifierPraise,
} from '@/model/periods';
import { SinglePeriodSettingValueRealized } from '@/model/periodsettings';
import { getQuantificationReceiverStats } from '@/utils/periods';
Expand Down Expand Up @@ -76,6 +77,7 @@ const PeriodMessage = (): JSX.Element | null => {

const QuantifyPeriodReceiverPage = (): JSX.Element => {
const { periodId, receiverId } = useParams<PeriodAndReceiverPageParams>();
usePeriodQuantifierPraise(periodId);

return (
<div className="praise-page-wide">
Expand Down

0 comments on commit 23fdb3a

Please sign in to comment.