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