feat: feature/mvp-sprint-1 Added code and edit mode url paths
This commit is contained in:
parent
c925d6c03f
commit
9aa463bc48
@ -18,7 +18,7 @@ export const ThingtimeURL = (props) => {
|
||||
|
||||
const path = pathPartOne?.replace(/\//g, ".")
|
||||
|
||||
return path
|
||||
return path || "thingtime"
|
||||
}, [location])
|
||||
|
||||
const thing = React.useMemo(() => {
|
||||
|
7
remix/app/routes/code/*.tsx
Normal file
7
remix/app/routes/code/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL code></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/code/edit/*.tsx
Normal file
7
remix/app/routes/code/edit/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL edit code></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/edit/code/*.tsx
Normal file
7
remix/app/routes/edit/code/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL code edit></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/things/code/*.tsx
Normal file
7
remix/app/routes/things/code/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL code></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/things/code/edit/*.tsx
Normal file
7
remix/app/routes/things/code/edit/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL edit code></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/things/edit/*.tsx
Normal file
7
remix/app/routes/things/edit/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL edit></ThingtimeURL>
|
||||
}
|
7
remix/app/routes/things/edit/code/*.tsx
Normal file
7
remix/app/routes/things/edit/code/*.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import React from "react"
|
||||
|
||||
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
|
||||
|
||||
export default function Index() {
|
||||
return <ThingtimeURL code edit></ThingtimeURL>
|
||||
}
|
Loading…
Reference in New Issue
Block a user