feat: feature/mvp-sprint-1 Fixed uuid usage

This commit is contained in:
Nikolaj Frey 2023-08-09 13:13:46 +10:00
parent df3f7bbef6
commit f1f2cde209
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ export const Thingtime = (props) => {
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)
@ -537,7 +537,7 @@ export const Thingtime = (props) => {
// minW={depth === 1 ? '120px' : null}
paddingY={3}
{...(props.chakras || {})}
className={`thing uuid-${uuid?.current}`}
className={`thing uuid-${uuid}`}
data-path={props?.path}
>
{/* {uuid?.current} */}

View File

@ -9,7 +9,7 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"target": "ES2019",
"strict": true,
"strict": false,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",