fix build complaints
This commit is contained in:
@@ -5,7 +5,7 @@ export default function Custom404() {
|
||||
<main className="min-h-screen flex flex-col items-center justify-center text-center p-8 bg-[url('/img/table3.png')] bg-cover bg-center">
|
||||
<h1 className="text-4xl font-bold text-gray-400 mb-4">404 - Game Not Found</h1>
|
||||
<p className="text-lg text-gray-400">
|
||||
The game you're looking for doesn't exist or has expired.
|
||||
The game you’re looking for doesn’t exist or has expired.
|
||||
</p>
|
||||
<Link href="/">
|
||||
<button className="mt-4 px-4 py-2 bg-gray-800 hover:bg-gray-700 text-white rounded-xl transition cursor-pointer">
|
||||
|
||||
@@ -64,7 +64,12 @@ export default function PermissionTogglePanel({
|
||||
{Object.entries(gameData.settings)
|
||||
.filter(([_key, value]) => typeof value === 'boolean')
|
||||
.map(([key, value]) => (
|
||||
<Switch label={key} value={value} toggleAction={() => togglePermission(key)} />
|
||||
<Switch
|
||||
key={key}
|
||||
label={key}
|
||||
value={value}
|
||||
toggleAction={() => togglePermission(key)}
|
||||
/>
|
||||
))}
|
||||
<fieldset className="flex flex-col">
|
||||
<div className="text-xs text-gray-400 mb-1">Card style:</div>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
import { useRef, useState, ReactNode } from 'react';
|
||||
|
||||
type TooltipProps = {
|
||||
children: React.ReactNode;
|
||||
content: React.ReactNode;
|
||||
children: ReactNode;
|
||||
content: ReactNode;
|
||||
delay?: number;
|
||||
mobileDelay?: number;
|
||||
offsetX?: number;
|
||||
|
||||
Reference in New Issue
Block a user