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 e90158809a
commit d5037f180e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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