fix: fix a bug which data will reuse prev state in notification in production
This commit is contained in:
parent
dde617fa0c
commit
5c2e0e46e1
@ -10,7 +10,8 @@
|
||||
"start:docker": "pnpm start:docker:db && pnpm start",
|
||||
"start:docker:db": "cd src/server && pnpm db:migrate:apply",
|
||||
"test": "vitest",
|
||||
"build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo",
|
||||
"build": "pnpm build:tracker && pnpm build:app && pnpm build:geo",
|
||||
"build:app": "pnpm build:server && pnpm build:client",
|
||||
"build:client": "cd src/client && pnpm build",
|
||||
"build:server": "cd src/server && pnpm build",
|
||||
"build:tracker": "ts-node scripts/build-tracker.ts",
|
||||
|
@ -111,6 +111,7 @@ export const NotificationList: React.FC = React.memo(() => {
|
||||
/>
|
||||
|
||||
<NotificationInfoModal
|
||||
key={editingFormData?.id}
|
||||
open={open}
|
||||
initialValues={editingFormData}
|
||||
onSubmit={handleSubmit}
|
||||
|
Loading…
Reference in New Issue
Block a user