Skip to content

Commit

Permalink
♻️ refactor : Change a function expression to a declaration
Browse files Browse the repository at this point in the history
Changed the intro page

Related issue: YJU-OKURA#57
  • Loading branch information
dorimu0 committed Feb 29, 2024
1 parent b8bc02a commit e6d970a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/intro/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Image from 'next/image';
import {Login} from './components/login';
import intro from '@/public/svgs/intro';

export default function Page() {
const Page = () => {
const [isOpen, setIsOpen] = useState(false);

const openModal = () => {
Expand Down Expand Up @@ -34,4 +34,6 @@ export default function Page() {
{isOpen && <Login onClose={onClose} />}
</main>
);
}
};

export default Page;

0 comments on commit e6d970a

Please sign in to comment.