|
@@ -11,6 +11,14 @@ export function useNavigate() {
|
|
|
return () => undefined
|
|
return () => undefined
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export function useLocation() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ pathname: "/story/session/story-session",
|
|
|
|
|
+ search: "",
|
|
|
|
|
+ hash: "",
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export function MemoryRouter(props: ParentProps) {
|
|
export function MemoryRouter(props: ParentProps) {
|
|
|
return props.children
|
|
return props.children
|
|
|
}
|
|
}
|