1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added placeholders

This commit is contained in:
Fedor Katurov 2021-04-21 12:58:44 +07:00
parent 44ab426915
commit b4b138e90f
16 changed files with 239 additions and 117 deletions

View file

@ -13,7 +13,7 @@ interface IProps {
}
const LabNode: FC<IProps> = ({ node, isLoading, lastSeen, commentCount }) => {
const { lab } = useNodeBlocks(node, false);
const { lab } = useNodeBlocks(node, !!isLoading);
const hasNewComments = useMemo(
() =>
@ -26,7 +26,7 @@ const LabNode: FC<IProps> = ({ node, isLoading, lastSeen, commentCount }) => {
{lab}
<LabBottomPanel
node={node}
isLoading={!!isLoading}
isLoading={isLoading}
hasNewComments={hasNewComments}
commentCount={commentCount}
/>