From ca2d37afe8076fa14eac1fb99d1e1b41ebb4eef6 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 22 Jun 2023 02:04:10 -0700 Subject: [PATCH 1/3] Fix server unavailable message Booleans are hard --- components/Layout/index.tsx | 2 +- pages/_app.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx index 6aafdde1..20ffa423 100644 --- a/components/Layout/index.tsx +++ b/components/Layout/index.tsx @@ -77,7 +77,7 @@ const Layout = ({ children }: PropsWithChildren) => { return ( <> - {appState.version && ServerAvailable} + {appState.version ? ServerAvailable() : ''}
{children}
) diff --git a/pages/_app.tsx b/pages/_app.tsx index 1486ab98..d213c926 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -130,7 +130,7 @@ function MyApp({ Component, pageProps }: AppProps) { - {appState.version ? ( + {!appState.version ? ( serverUnavailable() ) : ( From fa59942769ea91036452cfd8dfbeff5592507f91 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 22 Jun 2023 02:04:14 -0700 Subject: [PATCH 2/3] Remove a log --- components/toasts/RemixedToast/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/toasts/RemixedToast/index.tsx b/components/toasts/RemixedToast/index.tsx index e1c4b3d9..8bc533a0 100644 --- a/components/toasts/RemixedToast/index.tsx +++ b/components/toasts/RemixedToast/index.tsx @@ -17,9 +17,7 @@ const RemixedToast = ({ onCloseClick, }: Props) => { const { t } = useTranslation('common') - useEffect(() => { - console.log(partyName) - }, []) + // Methods: Event handlers function handleOpenChange() { onOpenChange(open) From 2fe4cdc13965258e6bb9cbd63ed37918ae8cda19 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 22 Jun 2023 02:04:25 -0700 Subject: [PATCH 3/3] Add characters from 2023-06 Flash Gala --- components/about/UpdatesPage/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/about/UpdatesPage/index.tsx b/components/about/UpdatesPage/index.tsx index 53319b4e..10b1061f 100644 --- a/components/about/UpdatesPage/index.tsx +++ b/components/about/UpdatesPage/index.tsx @@ -56,6 +56,15 @@ const UpdatesPage = () => { return (

{common('about.segmented_control.updates')}

+