Skip to content

Commit

Permalink
refactor(usePreviousPage): type에서 interface로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
0jenn0 committed Sep 25, 2024
1 parent eb6278c commit ef79495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/hooks/usePreviousPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { useLocation, useNavigate } from "react-router-dom";

import { ROUTE_PATHS_MAP } from "@constants/route";

type PreviousPages = {
interface PreviousPages {
[key: string]: string;
};
}

const usePreviousPage = () => {
const navigate = useNavigate();
Expand Down

0 comments on commit ef79495

Please sign in to comment.