Skip to content

Commit

Permalink
refactor puzzle page
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehs committed Feb 21, 2024
1 parent 219e723 commit af66c81
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/app/puzzle/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';
import { Menu } from '@/components/Menu'
import React, { useState } from 'react'
"use client";
import { Menu } from "@/components/Menu";
import { useState } from "react";

const page = () => {
export default function Page() {
const [active, setActive] = useState(0);
return (
<div>
Expand All @@ -12,7 +12,5 @@ const page = () => {
setActive={setActive}
/>
</div>
)
);
}

export default page

0 comments on commit af66c81

Please sign in to comment.