Merge pull request #243 from jedmund/staging
Allow content toasts to display
This commit is contained in:
commit
2595d3074a
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ const Layout = ({ children }: PropsWithChildren<Props>) => {
|
|||
return !['about', 'updates', 'roadmap'].includes(path) ? (
|
||||
<UpdateToast
|
||||
open={updateToastOpen}
|
||||
updateType="feature"
|
||||
updateType={appState.version.update_type}
|
||||
onActionClicked={handleToastActionClicked}
|
||||
onCloseClicked={handleToastClosed}
|
||||
lastUpdated={appState.version.updated_at}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { useTranslation } from 'next-i18next'
|
|||
|
||||
interface Props {
|
||||
open: boolean
|
||||
updateType: 'feature' | 'content'
|
||||
updateType: string
|
||||
lastUpdated: string
|
||||
onActionClicked: () => void
|
||||
onCloseClicked: () => void
|
||||
|
|
|
|||
Loading…
Reference in a new issue