chore: bump version (#1970)

This commit is contained in:
Himself65
2023-04-16 20:36:59 -05:00
committed by GitHub
parent 134e1e8668
commit 4cb6b8fdc8
10 changed files with 1308 additions and 1305 deletions

View File

@@ -17,11 +17,11 @@
"@affine/jotai": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@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/blocks": "0.0.0-20230416194015-c6ae6f0f-nightly",
"@blocksuite/editor": "0.0.0-20230416194015-c6ae6f0f-nightly",
"@blocksuite/global": "0.0.0-20230416194015-c6ae6f0f-nightly",
"@blocksuite/icons": "^2.1.10",
"@blocksuite/store": "0.0.0-20230413190748-4d32b79a-nightly",
"@blocksuite/store": "0.0.0-20230416194015-c6ae6f0f-nightly",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@emotion/cache": "^11.10.7",
@@ -30,7 +30,7 @@
"@emotion/styled": "^11.10.6",
"@mui/material": "^5.12.0",
"@react-hookz/web": "^23.0.0",
"@sentry/nextjs": "^7.47.0",
"@sentry/nextjs": "^7.48.0",
"@toeverything/hooks": "workspace:*",
"cmdk": "^0.2.0",
"css-spring": "^4.1.0",

View File

@@ -6,12 +6,11 @@ import { rootStore } from '@affine/workspace/atom';
import type { EmotionCache } from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
import { Provider } from 'jotai';
import { DevTools } from 'jotai-devtools';
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { useRouter } from 'next/router';
import type { PropsWithChildren, ReactElement } from 'react';
import React, { Suspense, useEffect, useMemo } from 'react';
import React, { lazy, Suspense, useEffect, useMemo } from 'react';
import { AffineErrorBoundary } from '../components/affine/affine-error-eoundary';
import { ProviderComposer } from '../components/provider-composer';
@@ -31,10 +30,14 @@ const EmptyLayout = (page: ReactElement) => page;
const clientSideEmotionCache = createEmotionCache();
const DevTools = lazy(() =>
import('jotai-devtools').then(m => ({ default: m.DevTools }))
);
const DebugProvider = ({ children }: PropsWithChildren): ReactElement => {
return (
<>
{process.env.DEBUG_JOTAI === 'true' && <DevTools />}
<Suspense>{process.env.DEBUG_JOTAI === 'true' && <DevTools />}</Suspense>
{children}
</>
);