Skip to content

Commit a8fd784

Browse files
committed
Fix reminders page
1 parent 4926909 commit a8fd784

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/tools/reminders.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const modalStyle: ReactModal.Styles = {
3636
}
3737
}
3838

39-
export default class Reminders extends Component<Props, { reminders: Reminder[], createReminderOpen: boolean, disabledTest: boolean }> {
40-
constructor(props: Props) {
39+
export default class Reminders extends Component<Props & { location: string }, { reminders: Reminder[], createReminderOpen: boolean, disabledTest: boolean }> {
40+
constructor(props: Props & { location: string }) {
4141
super(props)
4242
this.state = {
4343
reminders: this.props.reminders,
@@ -62,7 +62,7 @@ export default class Reminders extends Component<Props, { reminders: Reminder[],
6262
</Head>
6363

6464
<h2 className="font-semibold">
65-
<FormattedLink href="/tools/" location={location} className="font-semibold text-lg">
65+
<FormattedLink href="/tools/" location={this.props.location} className="font-semibold text-lg">
6666
Tools
6767
</FormattedLink>
6868
</h2>

0 commit comments

Comments
 (0)