mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added user context
This commit is contained in:
parent
f631f79654
commit
e881512f63
13 changed files with 116 additions and 160 deletions
|
@ -19,7 +19,7 @@ import { useNodeContext } from '~/utils/providers/NodeProvider';
|
|||
type IProps = {};
|
||||
|
||||
const NodeLayout: FC<IProps> = () => {
|
||||
const { node, isUser, isLoading } = useNodeContext();
|
||||
const { node, isLoading } = useNodeContext();
|
||||
|
||||
useNodeCoverImage(node);
|
||||
|
||||
|
@ -37,7 +37,7 @@ const NodeLayout: FC<IProps> = () => {
|
|||
<NodePanel node={node} isLoading={isLoading} />
|
||||
</div>
|
||||
|
||||
<NodeBottomBlock isUser={isUser} commentsOrder="DESC" />
|
||||
<NodeBottomBlock commentsOrder="DESC" />
|
||||
|
||||
<Footer />
|
||||
</Card>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue