fix: trigger new profile dialog, close #356

This commit is contained in:
GyDi authored and GitHub committed 2023-01-11 13:45:16 +08:00
1 parent ff3460e100
commit d3fca26499
1 file changed
+1 -1
+1 -1
View File
@@ -230,7 +230,7 @@ const ProfilePage = () => {
<Button
variant="contained"
size="small"
onClick={viewerRef.current?.create}
onClick={() => viewerRef.current?.create()}
>
{t("New")}
</Button>