style: import from './index' instead of '.' (#5590)

Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
Lewis Liu
2024-01-15 22:39:08 -08:00
committed by GitHub
parent 75fb0a9f1a
commit 94e24d1b82
20 changed files with 20 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { useCurrentUser } from '../../../hooks/affine/use-current-user';
import { useMembers } from '../../../hooks/affine/use-members';
import { useNavigateHelper } from '../../../hooks/use-navigate-helper';
import type { ShareHeaderRightItemProps } from '.';
import type { ShareHeaderRightItemProps } from './index';
export const AuthenticatedItem = ({ ...props }: ShareHeaderRightItemProps) => {
const { workspaceId, pageId } = props;

View File

@@ -15,8 +15,8 @@ import {
} from 'react';
import type { useCollectionManager } from '../use-collection-manager';
import type { AllPageListConfig } from '.';
import * as styles from './collection-operations.css';
import type { AllPageListConfig } from './index';
import {
useEditCollection,
useEditCollectionName,