mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
style: import from './index' instead of '.' (#5590)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user