chore: bump version (#1943)

This commit is contained in:
Himself65
2023-04-14 01:57:54 -05:00
committed by GitHub
parent ccd2b79d20
commit 70313eb5ee
11 changed files with 131 additions and 153 deletions

View File

@@ -2,10 +2,10 @@ import { Button, Menu, MenuItem, styled } from '@affine/component';
import { LOCALES } from '@affine/i18n';
import { useTranslation } from '@affine/i18n';
import { ArrowDownSmallIcon } from '@blocksuite/icons';
import type React from 'react';
import type { FC, ReactElement } from 'react';
import { useCallback } from 'react';
const LanguageMenuContent: React.FC = () => {
const LanguageMenuContent: FC = () => {
const { i18n } = useTranslation();
const changeLanguage = useCallback(
(event: string) => {
@@ -38,7 +38,7 @@ export const LanguageMenu: React.FC = () => {
return (
<Menu
content={<LanguageMenuContent />}
content={(<LanguageMenuContent />) as ReactElement}
placement="bottom"
trigger="click"
disablePortal={true}