mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
renamed NodePanelInner
This commit is contained in:
parent
7d7afeeaf5
commit
292268dbc3
3 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@ interface IProps {
|
||||||
onLock: () => void;
|
onLock: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const NodePanelInner: VFC<IProps> = memo(
|
const NodeTitle: VFC<IProps> = memo(
|
||||||
({
|
({
|
||||||
id,
|
id,
|
||||||
title,
|
title,
|
||||||
|
@ -123,4 +123,4 @@ const NodePanelInner: VFC<IProps> = memo(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
export { NodePanelInner };
|
export { NodeTitle };
|
|
@ -16,7 +16,7 @@ import styles from './styles.module.scss';
|
||||||
import { useNodeContext } from '~/utils/context/NodeContextProvider';
|
import { useNodeContext } from '~/utils/context/NodeContextProvider';
|
||||||
import { useNodePermissions } from '~/utils/hooks/node/useNodePermissions';
|
import { useNodePermissions } from '~/utils/hooks/node/useNodePermissions';
|
||||||
import { useNodeActions } from '~/utils/hooks/node/useNodeActions';
|
import { useNodeActions } from '~/utils/hooks/node/useNodeActions';
|
||||||
import { NodePanelInner } from '~/components/node/NodePanelInner';
|
import { NodeTitle } from '~/components/node/NodeTitle';
|
||||||
|
|
||||||
type IProps = {};
|
type IProps = {};
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ const NodeLayout: FC<IProps> = () => {
|
||||||
{block}
|
{block}
|
||||||
|
|
||||||
<div className={styles.panel}>
|
<div className={styles.panel}>
|
||||||
<NodePanelInner
|
<NodeTitle
|
||||||
id={node.id}
|
id={node.id}
|
||||||
title={node.title}
|
title={node.title}
|
||||||
username={node.user?.username}
|
username={node.user?.username}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue