mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-18 05:35:26 +02:00
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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user