feat: feature/999 Just a little temporary hack
This commit is contained in:
parent
4fc02ca68b
commit
b69bf81429
@ -49,8 +49,8 @@ export const Thingtime = (props) => {
|
|||||||
}, [props?.depth])
|
}, [props?.depth])
|
||||||
|
|
||||||
const render = React.useMemo(() => {
|
const render = React.useMemo(() => {
|
||||||
return props?.render || false
|
return !props?.edit || props?.render || false
|
||||||
}, [props?.render])
|
}, [props?.render, props?.edit])
|
||||||
|
|
||||||
const width = React.useMemo(() => {
|
const width = React.useMemo(() => {
|
||||||
if (props?.width) {
|
if (props?.width) {
|
||||||
|
Loading…
Reference in New Issue
Block a user