diff --git a/src/components/Toast/Toast.tsx b/src/components/Toast/Toast.tsx index f45e339a59..84ab0e2e12 100644 --- a/src/components/Toast/Toast.tsx +++ b/src/components/Toast/Toast.tsx @@ -45,28 +45,20 @@ const Toast: React.FC = () => { return () => clearInterval(interval) }, []) - return ( + return userInfo?.alert_message?.length > 0 ? ( - {userInfo?.alert_message?.length > 0 ? ( - userInfo.alert_message - ) : ( - <> -
Logos Operators Ordinals Mint Is Live
- - https://ordinalsbot.com/mint/logos-operators - - - )} + {/*
Logos Operators Ordinals Mint Is Live
+ + https://ordinalsbot.com/mint/logos-operators + */} + {userInfo.alert_message}
- ) + ) : null } const ToastContainer = styled.div<{ showTopToast: boolean }>` diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 331c2da535..5994de563b 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -1,3 +1,4 @@ +import { Toast } from '@/components/Toast' import { DefaultLayout } from '@/layouts/DefaultLayout' import { css, Global } from '@emotion/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' @@ -115,7 +116,7 @@ export default function App({ Component, pageProps }: AppLayoutProps) { } `} /> - {/* */} + {getLayout()}