"use client"; import { deleteAllGameSystems } from "@/actions/GameSystems/devactions"; import { DevTool } from "@/components/devtools/DevTool"; import { useRouter } from "next/navigation"; import { FC, PropsWithChildren } from "react"; export const GameSystemsClient: FC = ({ children }) => { const router = useRouter(); // DEV TOOL ONLY async function deleteAll() { await deleteAllGameSystems(); router.refresh(); } return ( <> {children} ); };