fix: trigger new profile dialog, close #356

This commit is contained in:
GyDi 2023-01-11 13:45:16 +08:00 committed by GitHub
parent ff3460e100
commit d3fca26499

View File

@ -230,7 +230,7 @@ const ProfilePage = () => {
<Button <Button
variant="contained" variant="contained"
size="small" size="small"
onClick={viewerRef.current?.create} onClick={() => viewerRef.current?.create()}
> >
{t("New")} {t("New")}
</Button> </Button>