aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-09-21 17:22:41 +0800
committercrupest <crupest@outlook.com>2023-09-21 17:22:41 +0800
commit4bedca2bf5f3a6aaef004e7a85a9bfab4a9deede (patch)
tree38d94aa056510e7d5b3a5f3df81812f5dbab0428
parentc7d2545ec7bbcdba30b775453d53df5a359410bd (diff)
downloadtimeline-4bedca2bf5f3a6aaef004e7a85a9bfab4a9deede.tar.gz
timeline-4bedca2bf5f3a6aaef004e7a85a9bfab4a9deede.tar.bz2
timeline-4bedca2bf5f3a6aaef004e7a85a9bfab4a9deede.zip
Fix #1396.
-rw-r--r--FrontEnd/src/components/dialog/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/FrontEnd/src/components/dialog/index.tsx b/FrontEnd/src/components/dialog/index.tsx
index 17db8fd0..7b24fc57 100644
--- a/FrontEnd/src/components/dialog/index.tsx
+++ b/FrontEnd/src/components/dialog/index.tsx
@@ -51,7 +51,8 @@ export function useDialog<D extends string>(
dialogs.map((d) => [
d,
{
- key: `${d}-${dialogKeys[d]}`,
+ // TODO: Fix the animation problem, maybe we have to use a better way to re-enable this.
+ //key: `${d}-${dialogKeys[d]}`,
open: dialog === d,
onClose: () => {
switchDialog(null);