Add refresh buttons to these pages

This commit is contained in:
2026-01-30 23:04:42 -07:00
parent cec1e2c95d
commit f5f49c27ea
3 changed files with 36 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
'use client'
import { BackButton } from '@/app/components/BackButton'
import { DiscordButton } from '@/app/components/DiscordButton'
import { ReloadButton } from '@/app/components/ReloadButton'
import { getCookie } from '@/util/cookie'
import { Turnstile } from '@marsidev/react-turnstile'
import axios from 'axios'
@@ -26,7 +26,7 @@ export default function BerryDashSubmitSplash () {
return (
<div className='box'>
<BackButton href='/game/berry-dash/splash' />
<DiscordButton />
<ReloadButton action={() => window.location.reload()} />
<p className={`px-8 ${loading ? '-my-2' : 'mb-4 -mt-2'} text-center`}>
{loading
? 'Loading...'