feat: parse update log

This commit is contained in:
GyDi
2022-03-19 15:31:58 +08:00
parent 6a4924bb16
commit e585e87bec
4 changed files with 30 additions and 6 deletions

View File

@@ -32,7 +32,9 @@ const UpdateButton = (props: Props) => {
New
</Button>
<UpdateDialog open={dialogOpen} onClose={() => setDialogOpen(false)} />
{dialogOpen && (
<UpdateDialog open={dialogOpen} onClose={() => setDialogOpen(false)} />
)}
</>
);
};