mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
removed all router-modals
This commit is contained in:
parent
85d20e5009
commit
ffce400398
15 changed files with 99 additions and 143 deletions
|
@ -24,7 +24,7 @@ const NodeLayout: FC<IProps> = () => {
|
|||
const { node, isLoading, update } = useNodeContext();
|
||||
const { head, block } = useNodeBlocks(node, isLoading);
|
||||
const [canEdit, canLike, canStar] = useNodePermissions(node);
|
||||
const { onLike, onStar, onLock } = useNodeActions(node, update);
|
||||
const { onLike, onStar, onLock, onEdit } = useNodeActions(node, update);
|
||||
|
||||
useNodeCoverImage(node);
|
||||
|
||||
|
@ -53,6 +53,7 @@ const NodeLayout: FC<IProps> = () => {
|
|||
onLike={onLike}
|
||||
onStar={onStar}
|
||||
onLock={onLock}
|
||||
onEdit={onEdit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue