From f1f2cde2094371af59fa6a495c15cadcd6cff9d7 Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Wed, 9 Aug 2023 13:13:46 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 Fixed uuid usage --- remix/app/components/Thingtime/Thingtime.tsx | 4 ++-- remix/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx index 573a885..ae91a0e 100644 --- a/remix/app/components/Thingtime/Thingtime.tsx +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -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} */} diff --git a/remix/tsconfig.json b/remix/tsconfig.json index 7794110..038640a 100644 --- a/remix/tsconfig.json +++ b/remix/tsconfig.json @@ -9,7 +9,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "target": "ES2019", - "strict": true, + "strict": false, "allowJs": true, "forceConsistentCasingInFileNames": true, "baseUrl": ".",