mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
fix
This commit is contained in:
@@ -134,7 +134,10 @@ export function LicenseApplicationPage() {
|
||||
? prev
|
||||
: { ...prev, [section.key]: { ...prev[section.key], nationality: value } },
|
||||
);
|
||||
}, [profile?.address?.nationality, config]);
|
||||
// Also re-run after the server seed effect (above) replaces `draft`
|
||||
// wholesale — that effect can resolve after this one, wiping the
|
||||
// prefill back out since the server's own draft has no nationality yet.
|
||||
}, [profile?.address?.nationality, config, detail?.application?.id, detail?.application?.formData]);
|
||||
|
||||
const application = detail?.application;
|
||||
const isAdjusting = application?.status === 'RESUBMIT_REQUIRED';
|
||||
|
||||
Reference in New Issue
Block a user