Allow content toasts to display

This commit is contained in:
Justin Edmund 2023-02-07 00:28:29 -08:00
parent c85682acf0
commit 344d03bdfb
2 changed files with 2 additions and 2 deletions

View file

@ -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}

View file

@ -12,7 +12,7 @@ import { useTranslation } from 'next-i18next'
interface Props {
open: boolean
updateType: 'feature' | 'content'
updateType: string
lastUpdated: string
onActionClicked: () => void
onCloseClicked: () => void