mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
optimized imports
This commit is contained in:
parent
68bab520df
commit
77d59625d1
26 changed files with 6 additions and 49 deletions
|
@ -12,8 +12,6 @@ import { CommendDeleted } from '../../node/CommendDeleted';
|
|||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {
|
||||
nodeId: number;
|
||||
isEmpty?: boolean;
|
||||
|
|
|
@ -4,7 +4,6 @@ import classNames from 'classnames';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
type IProps = React.HTMLAttributes<HTMLDivElement> & {
|
||||
seamless?: boolean;
|
||||
};
|
||||
|
|
|
@ -4,7 +4,6 @@ import classNames from 'classnames';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {
|
||||
children: any;
|
||||
size: number;
|
||||
|
|
|
@ -4,7 +4,6 @@ import classNames from 'classnames';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
type IProps = React.HTMLAttributes<HTMLDivElement> & {
|
||||
padding?: number;
|
||||
vertical?: boolean;
|
||||
|
|
|
@ -4,7 +4,6 @@ import classNames from 'classnames';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {
|
||||
seamless?: boolean;
|
||||
stretchy?: boolean;
|
||||
|
|
|
@ -3,7 +3,7 @@ import React, { FC, Fragment } from 'react';
|
|||
import classNames from 'classnames';
|
||||
|
||||
import { FlowCell } from '~/components/flow/FlowCell';
|
||||
import { flowDisplayToPreset, ImagePresets, URLS } from '~/constants/urls';
|
||||
import { flowDisplayToPreset, URLS } from '~/constants/urls';
|
||||
import { FlowDisplay, IFlowNode, INode } from '~/types';
|
||||
import { IUser } from '~/types/auth';
|
||||
import { getURLFromString } from '~/utils/dom';
|
||||
|
|
|
@ -12,7 +12,6 @@ import { getPrettyDate } from '~/utils/dom';
|
|||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
|
||||
interface IProps {
|
||||
node: Partial<INode>;
|
||||
has_new?: boolean;
|
||||
|
|
|
@ -10,7 +10,6 @@ import { IInputTextProps } from '~/types';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
const InputText: FC<IInputTextProps> = ({
|
||||
className = '',
|
||||
handler,
|
||||
|
|
|
@ -8,7 +8,6 @@ import { formatText } from '~/utils/dom';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
const LabDescription: FC<INodeComponentProps> = ({ node, isLoading }) => {
|
||||
const onClick = useGotoNode(node.id);
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ import { INode } from '~/types';
|
|||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
|
||||
|
||||
interface IProps {
|
||||
node: INode;
|
||||
lastSeen: string | null | undefined;
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
import React, { FC, useCallback } from 'react';
|
||||
|
||||
import { Anchor } from '~/components/common/Anchor';
|
||||
import React, { FC } from 'react';
|
||||
import { Pressable } from '~/components/common/Pressable';
|
||||
import { SubTitle } from '~/components/common/SubTitle';
|
||||
import { NodeRelated } from '~/components/node/NodeRelated';
|
||||
import { NodeRelatedPlaceholder } from '~/components/node/NodeRelated/placeholder';
|
||||
import { Dialog } from '~/constants/modal';
|
||||
import { URLS } from '~/constants/urls';
|
||||
import { useShowModal } from '~/hooks/modal/useShowModal';
|
||||
import { INode } from '~/types';
|
||||
import { INodeRelated } from '~/types/node';
|
||||
|
|
|
@ -11,8 +11,6 @@ import { useProfileContext } from '~/utils/providers/ProfileProvider';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
||||
|
||||
const ProfileDescription: FC = () => {
|
||||
const { profile, isLoading } = useProfileContext();
|
||||
const { user } = useUser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue