29 lines
473 B
TypeScript
29 lines
473 B
TypeScript
import type { ParentProps } from "solid-js"
|
|
|
|
export function useParams() {
|
|
return {
|
|
dir: "c3Rvcnk=",
|
|
id: "story-session",
|
|
}
|
|
}
|
|
|
|
export function useNavigate() {
|
|
return () => undefined
|
|
}
|
|
|
|
export function useLocation() {
|
|
return {
|
|
pathname: "/story/session/story-session",
|
|
search: "",
|
|
hash: "",
|
|
}
|
|
}
|
|
|
|
export function MemoryRouter(props: ParentProps) {
|
|
return props.children
|
|
}
|
|
|
|
export function Route(props: ParentProps) {
|
|
return props.children
|
|
}
|