Add updates from 2023/06 Flash Gala (#331)

* Fix server unavailable message

Booleans are hard

* Remove a log

* Add characters from 2023-06 Flash Gala
This commit is contained in:
Justin Edmund 2023-06-22 02:05:52 -07:00 committed by GitHub
parent 686729ff9c
commit b94ff33d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View file

@ -77,7 +77,7 @@ const Layout = ({ children }: PropsWithChildren<Props>) => {
return (
<>
{appState.version && ServerAvailable}
{appState.version ? ServerAvailable() : ''}
<main>{children}</main>
</>
)

View file

@ -56,6 +56,15 @@ const UpdatesPage = () => {
return (
<div className="Updates PageContent">
<h1>{common('about.segmented_control.updates')}</h1>
<ContentUpdate
version="2023-06F"
dateString="2023/06/19"
event="events.flash"
newItems={{
character: ['3040466000', '3040467000'],
weapon: ['1040915300', '1040815700'],
}}
/>
<ContentUpdate
version="2023-06U1"
dateString="2023/06/07"

View file

@ -17,9 +17,7 @@ const RemixedToast = ({
onCloseClick,
}: Props) => {
const { t } = useTranslation('common')
useEffect(() => {
console.log(partyName)
}, [])
// Methods: Event handlers
function handleOpenChange() {
onOpenChange(open)

View file

@ -130,7 +130,7 @@ function MyApp({ Component, pageProps }: AppProps) {
<ToastProvider swipeDirection="right">
<TooltipProvider>
<Layout>
{appState.version ? (
{!appState.version ? (
serverUnavailable()
) : (
<Component {...pageProps} />