mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
refactor main components and IProps
This commit is contained in:
parent
85a182c053
commit
efbaf13151
124 changed files with 235 additions and 256 deletions
|
@ -11,7 +11,7 @@ import { NodeLikeButton } from '../NodeLikeButton';
|
|||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
interface IProps {
|
||||
interface Props {
|
||||
id?: number;
|
||||
title: string;
|
||||
username?: string;
|
||||
|
@ -34,7 +34,7 @@ interface IProps {
|
|||
onEdit: () => void;
|
||||
}
|
||||
|
||||
const NodeTitle: VFC<IProps> = memo(
|
||||
const NodeTitle: VFC<Props> = memo(
|
||||
({
|
||||
title,
|
||||
username,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue