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:
parent
686729ff9c
commit
b94ff33d04
4 changed files with 12 additions and 5 deletions
|
|
@ -77,7 +77,7 @@ const Layout = ({ children }: PropsWithChildren<Props>) => {
|
|||
|
||||
return (
|
||||
<>
|
||||
{appState.version && ServerAvailable}
|
||||
{appState.version ? ServerAvailable() : ''}
|
||||
<main>{children}</main>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ const RemixedToast = ({
|
|||
onCloseClick,
|
||||
}: Props) => {
|
||||
const { t } = useTranslation('common')
|
||||
useEffect(() => {
|
||||
console.log(partyName)
|
||||
}, [])
|
||||
|
||||
// Methods: Event handlers
|
||||
function handleOpenChange() {
|
||||
onOpenChange(open)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ function MyApp({ Component, pageProps }: AppProps) {
|
|||
<ToastProvider swipeDirection="right">
|
||||
<TooltipProvider>
|
||||
<Layout>
|
||||
{appState.version ? (
|
||||
{!appState.version ? (
|
||||
serverUnavailable()
|
||||
) : (
|
||||
<Component {...pageProps} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue