refactor: clean up stopGracePeriodSwarm assignment formatting │

│                                                                                                                                                                                                                                                                                                                                                                                                    │
│   - Improve code readability by condensing multi-line assignment                                                                                                                                                                                                                                                                                                                                   │
│   - Maintain consistent formatting with other field assignments                                                                                                                                                                                                                                                                                                                                    │
│   - No functional changes, formatting only
This commit is contained in:
Lucas Manchine
2025-09-05 15:34:03 -03:00
parent 85e3a92877
commit b7e2df6d6a

View File

@@ -258,10 +258,9 @@ export const AddSwarmSettings = ({ id, type }: Props) => {
networkSwarm: data.networkSwarm
? JSON.stringify(data.networkSwarm, null, 2)
: null,
stopGracePeriodSwarm:
data.stopGracePeriodSwarm
? BigInt(data.stopGracePeriodSwarm)
: null,
stopGracePeriodSwarm: data.stopGracePeriodSwarm
? BigInt(data.stopGracePeriodSwarm)
: null,
});
}
}, [form, form.reset, data]);