aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/center
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/views/center')
-rw-r--r--FrontEnd/src/views/center/index.tsx14
1 files changed, 6 insertions, 8 deletions
diff --git a/FrontEnd/src/views/center/index.tsx b/FrontEnd/src/views/center/index.tsx
index d226e63c..430d9781 100644
--- a/FrontEnd/src/views/center/index.tsx
+++ b/FrontEnd/src/views/center/index.tsx
@@ -47,14 +47,12 @@ const HomePage: React.FC = () => {
</div>
<CenterBoards />
</div>
- {dialog === "create" && (
- <TimelineCreateDialog
- open
- close={() => {
- setDialog(null);
- }}
- />
- )}
+ <TimelineCreateDialog
+ open={dialog === "create"}
+ close={() => {
+ setDialog(null);
+ }}
+ />
</>
);
};