mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
removed zoom from swiper carousel
This commit is contained in:
parent
25bc810306
commit
bcc6ba26ac
2 changed files with 31 additions and 3 deletions
|
@ -8,7 +8,6 @@ import { apiGetNode, apiGetNodeComments, getNodeDiff } from '~/api/node';
|
|||
import { NodeHeadMetadata } from '~/components/node/NodeHeadMetadata';
|
||||
import { COMMENTS_DISPLAY } from '~/constants/node';
|
||||
import { useNodeComments } from '~/hooks/comments/useNodeComments';
|
||||
import { useScrollToTop } from '~/hooks/dom/useScrollToTop';
|
||||
import { useImageModal } from '~/hooks/navigation/useImageModal';
|
||||
import { useLoadNode } from '~/hooks/node/useLoadNode';
|
||||
import { useNodePageParams } from '~/hooks/node/useNodePageParams';
|
||||
|
@ -107,8 +106,6 @@ const NodePage: FC<Props> = observer(props => {
|
|||
);
|
||||
const [canEdit] = useNodePermissions(node);
|
||||
|
||||
useScrollToTop([id, isLoadingComments]);
|
||||
|
||||
if (!node) {
|
||||
// TODO: do something here
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue