Fixed warnings.
This commit is contained in:
parent
9956085e44
commit
a4346ead98
@ -28,7 +28,7 @@ const SlicerIntegration = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setPrimaryColorOverride('#00baa8')
|
setPrimaryColorOverride('#00baa8')
|
||||||
}, [])
|
}, [setPrimaryColorOverride])
|
||||||
|
|
||||||
const [objectFormState, setEditFormState] = useState({
|
const [objectFormState, setEditFormState] = useState({
|
||||||
isEditing: false,
|
isEditing: false,
|
||||||
|
|||||||
@ -21,7 +21,10 @@ const TagsInput = ({
|
|||||||
const [loading, setLoading] = useState(false)
|
const [loading, setLoading] = useState(false)
|
||||||
const [delayedLoading, setDelayedLoading] = useState(true)
|
const [delayedLoading, setDelayedLoading] = useState(true)
|
||||||
|
|
||||||
const tags = Array.isArray(value) ? value : []
|
const tags = useMemo(
|
||||||
|
() => (Array.isArray(value) ? value : []),
|
||||||
|
[value]
|
||||||
|
)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let cancelled = false
|
let cancelled = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user