Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonma committed Jun 24, 2022
2 parents 4a252cb + b0428e4 commit 75d46c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const Header = ({ setSidebarOpen }: { setSidebarOpen: any }) => {
isLoading={loading}
>
<Icon mr={{ md: 2 }} as={BiDuplicate} />
{t("duplicate-timetable")}
{t("duplicate-table")}
</Button>
)}
<ButtonGroup
Expand Down
6 changes: 6 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ function Application({ Component, pageProps }: AppProps) {
}
}, [size, toast])

useEffect(() => {
if (toast.isActive("warn-not-allowed")) {
toast.close("warn-not-allowed")
}
})

return (
<React.Fragment>
<Script id="heap">
Expand Down

0 comments on commit 75d46c2

Please sign in to comment.