fix: replace react-i18n with affine/i18n

This commit is contained in:
DiamondThree
2023-01-10 14:27:57 +08:00
parent f251ae7437
commit 9395b8989d
8 changed files with 12 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ export const useWorkspaceHelper = () => {
workspace: Workspace
) => {
if (name) {
dataCenter.resetWorkspaceMeta({ name }, workspace);
dataCenter.updateWorkspaceMeta({ name }, workspace);
}
// if (avatar) {
// dataCenter.resetWorkspaceMeta({ avatar }, workspace);