feat: feature/mvp-sprint-1
This commit is contained in:
parent
c3804ef93f
commit
fad185e0ec
@ -126,6 +126,7 @@ export const ThingtimeProvider = (props: any): JSX.Element => {
|
||||
|
||||
const setThingtime = React.useCallback(
|
||||
(path, value) => {
|
||||
// TODO: make this a lot safer
|
||||
if (["thingtime", "tt"]?.includes(path)) {
|
||||
if (value) {
|
||||
set(value)
|
||||
@ -171,7 +172,6 @@ export const ThingtimeProvider = (props: any): JSX.Element => {
|
||||
})
|
||||
|
||||
// TODO: make thingtime settable
|
||||
|
||||
newThingtime.thingtime = newThingtime
|
||||
newThingtime.tt = newThingtime
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user