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

@@ -17,11 +17,11 @@
"@affine/jotai": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/blocks": "0.0.0-20230413112150-e058f87e-nightly",
"@blocksuite/editor": "0.0.0-20230413112150-e058f87e-nightly",
"@blocksuite/global": "0.0.0-20230413112150-e058f87e-nightly",
"@blocksuite/blocks": "0.0.0-20230413190748-4d32b79a-nightly",
"@blocksuite/editor": "0.0.0-20230413190748-4d32b79a-nightly",
"@blocksuite/global": "0.0.0-20230413190748-4d32b79a-nightly",
"@blocksuite/icons": "^2.1.10",
"@blocksuite/store": "0.0.0-20230413112150-e058f87e-nightly",
"@blocksuite/store": "0.0.0-20230413190748-4d32b79a-nightly",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@emotion/cache": "^11.10.7",
@@ -53,7 +53,7 @@
"@sentry/webpack-plugin": "^1.20.0",
"@swc-jotai/debug-label": "^0.0.9",
"@swc-jotai/react-refresh": "^0.0.7",
"@types/react": "=18.0.31",
"@types/react": "^18.0.35",
"@types/react-dom": "^18.0.11",
"@types/webpack-env": "^1.18.0",
"@vanilla-extract/css": "^1.11.0",

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}