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 (
|
return (
|
||||||
<>
|
<>
|
||||||
{appState.version && ServerAvailable}
|
{appState.version ? ServerAvailable() : ''}
|
||||||
<main>{children}</main>
|
<main>{children}</main>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,15 @@ const UpdatesPage = () => {
|
||||||
return (
|
return (
|
||||||
<div className="Updates PageContent">
|
<div className="Updates PageContent">
|
||||||
<h1>{common('about.segmented_control.updates')}</h1>
|
<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
|
<ContentUpdate
|
||||||
version="2023-06U1"
|
version="2023-06U1"
|
||||||
dateString="2023/06/07"
|
dateString="2023/06/07"
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,7 @@ const RemixedToast = ({
|
||||||
onCloseClick,
|
onCloseClick,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
const { t } = useTranslation('common')
|
const { t } = useTranslation('common')
|
||||||
useEffect(() => {
|
|
||||||
console.log(partyName)
|
|
||||||
}, [])
|
|
||||||
// Methods: Event handlers
|
// Methods: Event handlers
|
||||||
function handleOpenChange() {
|
function handleOpenChange() {
|
||||||
onOpenChange(open)
|
onOpenChange(open)
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ function MyApp({ Component, pageProps }: AppProps) {
|
||||||
<ToastProvider swipeDirection="right">
|
<ToastProvider swipeDirection="right">
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<Layout>
|
<Layout>
|
||||||
{appState.version ? (
|
{!appState.version ? (
|
||||||
serverUnavailable()
|
serverUnavailable()
|
||||||
) : (
|
) : (
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue