Add refresh buttons to these pages
This commit is contained in:
@@ -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...'
|
||||
|
||||
Reference in New Issue
Block a user