diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx
index dafc8b14..3ed4b1f3 100644
--- a/components/Layout/index.tsx
+++ b/components/Layout/index.tsx
@@ -1,6 +1,9 @@
import type { ReactElement } from 'react'
import TopHeader from '~components/Header'
+import Toast from '~components/Toast'
+import UpdateToast from '~components/UpdateToast'
+import './index.scss'
interface Props {
children: ReactElement
}
@@ -9,6 +12,7 @@ const Layout = ({ children }: Props) => {
return (
<>
+
{children}
>
)
diff --git a/components/UpdateToast/index.tsx b/components/UpdateToast/index.tsx
index 74f63756..7d8d6bd5 100644
--- a/components/UpdateToast/index.tsx
+++ b/components/UpdateToast/index.tsx
@@ -7,10 +7,13 @@ import Toast from '~components/Toast'
import './index.scss'
import { useTranslation } from 'next-i18next'
-interface Props {}
+interface Props {
+ open: boolean
+ updateType: 'feature' | 'content'
+}
const UpdateToast = (props: Props) => {
- const { t } = useTranslation('updates')
+ const { t } = useTranslation('roadmap')
const classes = classNames({
Update: true,
@@ -19,10 +22,12 @@ const UpdateToast = (props: Props) => {
return (
-
+
)
}