Skip to content

Commit 132f55b

Browse files
authored
chore: add type to routes object (#1840)
1 parent 80e4e9b commit 132f55b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/routes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Navigate } from "react-router-dom";
1+
import { Navigate, RouteObject } from "react-router-dom";
22
import AppLayout from "src/components/layouts/AppLayout";
33
import SettingsLayout from "src/components/layouts/SettingsLayout";
44
import TwoColumnFullScreenLayout from "src/components/layouts/TwoColumnFullScreenLayout";
@@ -89,7 +89,7 @@ import AutoSwap from "src/screens/wallet/swap/AutoSwap";
8989
import SwapInStatus from "src/screens/wallet/swap/SwapInStatus";
9090
import SwapOutStatus from "src/screens/wallet/swap/SwapOutStatus";
9191

92-
const routes = [
92+
const routes: RouteObject[] = [
9393
{
9494
path: "/",
9595
element: <AppLayout />,

0 commit comments

Comments
 (0)