mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +01:00
fix iswearingeffect condition
This commit is contained in:
parent
dbd1ea0866
commit
350e72b8d7
@ -13,7 +13,7 @@ export const WiredConditionActorIsWearingEffectView: FC<{}> = props =>
|
|||||||
|
|
||||||
useEffect(() =>
|
useEffect(() =>
|
||||||
{
|
{
|
||||||
setEffect((trigger?.stringData !== '') ? parseInt(trigger?.stringData!) : 0);
|
setEffect(trigger?.intData[0] ?? 0);
|
||||||
}, [ trigger ]);
|
}, [ trigger ]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user