From 4ca90d326d2b487694b27ade540127e3d68d8573 Mon Sep 17 00:00:00 2001 From: Dijana Pavlovic Date: Wed, 21 Aug 2024 20:22:26 +0200 Subject: [PATCH] Use .tsx for dbRoute instead .ts --- shared/studio/hooks/{dbRoute.ts => dbRoute.tsx} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename shared/studio/hooks/{dbRoute.ts => dbRoute.tsx} (89%) diff --git a/shared/studio/hooks/dbRoute.ts b/shared/studio/hooks/dbRoute.tsx similarity index 89% rename from shared/studio/hooks/dbRoute.ts rename to shared/studio/hooks/dbRoute.tsx index 34f390e8..f72283a7 100644 --- a/shared/studio/hooks/dbRoute.ts +++ b/shared/studio/hooks/dbRoute.tsx @@ -1,4 +1,4 @@ -import {createContext, useContext} from "react"; +import {createContext, useContext, ReactNode} from "react"; export type NavigateFunction = ( path: string | {path?: string; searchParams?: URLSearchParams},