diff --git a/layout/Attendee/Slots/components/Machine/index.tsx b/layout/Attendee/Slots/components/Machine/index.tsx index 6ae21e34..d2ea3dee 100644 --- a/layout/Attendee/Slots/components/Machine/index.tsx +++ b/layout/Attendee/Slots/components/Machine/index.tsx @@ -13,8 +13,6 @@ const numIcons = slots.symbols; // Size of the icons var iconSize = 79; -interface MachineProps {} - interface MachineRef { rollAll: (multiplier: any) => Promise; } @@ -50,7 +48,7 @@ const getReelsTarget = (multiplier) => { return target; }; -const Machine = forwardRef((props, ref) => { +const Machine = forwardRef((_, ref) => { const machineRef = useRef(null); const [indexes, setIndexes] = useState([1, 1, 1]); diff --git a/layout/Attendee/Slots/components/SlotsMessage/index.tsx b/layout/Attendee/Slots/components/SlotsMessage/index.tsx index 2c5ff394..7046a632 100644 --- a/layout/Attendee/Slots/components/SlotsMessage/index.tsx +++ b/layout/Attendee/Slots/components/SlotsMessage/index.tsx @@ -1,8 +1,6 @@ import { Dialog } from "@headlessui/react"; -import { useRouter } from "next/router"; export default function SlotsMessage({ title, description, onExit }) { - const router = useRouter(); return ( <>