import { BugReport } from "@mui/icons-material"; import { Box, Button, IconButton, TextField, Typography } from "@mui/material"; import { useRouter } from "next/router"; import { useState } from "react"; import { useSettings } from "../contexts/SettingsContext"; import { testing } from "../lib/testing"; export default function Testing() { // contexts const router = useRouter(); const { settings, settingsLoading, updateSettings, resetSettings } = useSettings(); // states const [text, setText] = useState(""); return ( { router.push("/"); }} > {text} ); }