style: no import infra submodule (#6278)

This commit is contained in:
EYHN
2024-03-25 03:55:29 +00:00
parent b93871f045
commit 7ce2bfbf0b
81 changed files with 105 additions and 122 deletions

View File

@@ -7,14 +7,14 @@ import { useDarkMode } from 'storybook-dark-mode';
import { AffineContext } from '@affine/component/context';
import useSWR from 'swr';
import type { Decorator } from '@storybook/react';
import { _setCurrentStore } from '@toeverything/infra/atom';
import { _setCurrentStore } from '@toeverything/infra';
import { setupGlobal, type Environment } from '@affine/env/global';
import type { Preview } from '@storybook/react';
import { useLayoutEffect, useRef } from 'react';
import { setup } from '@affine/core/bootstrap/setup';
import { WorkspaceFlavour } from '@affine/env/workspace';
import { ServiceCollection } from '@toeverything/infra/di';
import { ServiceCollection } from '@toeverything/infra';
import {
WorkspaceManager,
configureInfraServices,

View File

@@ -7,7 +7,7 @@ import { expect } from '@storybook/jest';
import type { Meta, StoryFn } from '@storybook/react';
import { Workspace } from '@toeverything/infra';
import { initEmptyPage } from '@toeverything/infra';
import { useService } from '@toeverything/infra/di';
import { useService } from '@toeverything/infra';
import { nanoid } from 'nanoid';
import { useEffect, useState } from 'react';