feat: feature/mvp-sprint-1 Fixed uuid usage
This commit is contained in:
parent
df3f7bbef6
commit
f1f2cde209
@ -27,7 +27,7 @@ export const Thingtime = (props) => {
|
|||||||
|
|
||||||
const { thingtime, setThingtime, loading } = useThingtime()
|
const { thingtime, setThingtime, loading } = useThingtime()
|
||||||
|
|
||||||
const [uuid, setUuid] = React.useState()
|
const [uuid, setUuid] = React.useState(undefined)
|
||||||
|
|
||||||
const [root, setRoot] = React.useState(props?.notRoot ? false : true)
|
const [root, setRoot] = React.useState(props?.notRoot ? false : true)
|
||||||
|
|
||||||
@ -537,7 +537,7 @@ export const Thingtime = (props) => {
|
|||||||
// minW={depth === 1 ? '120px' : null}
|
// minW={depth === 1 ? '120px' : null}
|
||||||
paddingY={3}
|
paddingY={3}
|
||||||
{...(props.chakras || {})}
|
{...(props.chakras || {})}
|
||||||
className={`thing uuid-${uuid?.current}`}
|
className={`thing uuid-${uuid}`}
|
||||||
data-path={props?.path}
|
data-path={props?.path}
|
||||||
>
|
>
|
||||||
{/* {uuid?.current} */}
|
{/* {uuid?.current} */}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"target": "ES2019",
|
"target": "ES2019",
|
||||||
"strict": true,
|
"strict": false,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
Loading…
Reference in New Issue
Block a user