From 85a182c053e7f55cc8e05cb700d75923eed934a9 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 21 Nov 2023 19:36:19 +0600 Subject: [PATCH] move NodeBacklinks --- .../{ => NodeBottomBlock/components}/NodeBacklinks/index.tsx | 5 ++++- .../components}/NodeBacklinks/styles.module.scss | 0 src/containers/node/NodeBottomBlock/index.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) rename src/containers/node/{ => NodeBottomBlock/components}/NodeBacklinks/index.tsx (93%) rename src/containers/node/{ => NodeBottomBlock/components}/NodeBacklinks/styles.module.scss (100%) diff --git a/src/containers/node/NodeBacklinks/index.tsx b/src/containers/node/NodeBottomBlock/components/NodeBacklinks/index.tsx similarity index 93% rename from src/containers/node/NodeBacklinks/index.tsx rename to src/containers/node/NodeBottomBlock/components/NodeBacklinks/index.tsx index 56dee139..d8d094bc 100644 --- a/src/containers/node/NodeBacklinks/index.tsx +++ b/src/containers/node/NodeBottomBlock/components/NodeBacklinks/index.tsx @@ -6,7 +6,10 @@ import { Backlink } from '~/components/node/Backlink'; import { NodeBackLink } from '~/types'; import { has } from '~/utils/ramda'; -import { BACKLINK_TITLES, SOCIAL_ICONS } from '../../../constants/auth/socials'; +import { + BACKLINK_TITLES, + SOCIAL_ICONS, +} from '../../../../../constants/auth/socials'; import styles from './styles.module.scss'; diff --git a/src/containers/node/NodeBacklinks/styles.module.scss b/src/containers/node/NodeBottomBlock/components/NodeBacklinks/styles.module.scss similarity index 100% rename from src/containers/node/NodeBacklinks/styles.module.scss rename to src/containers/node/NodeBottomBlock/components/NodeBacklinks/styles.module.scss diff --git a/src/containers/node/NodeBottomBlock/index.tsx b/src/containers/node/NodeBottomBlock/index.tsx index d0a60654..b3374ed1 100644 --- a/src/containers/node/NodeBottomBlock/index.tsx +++ b/src/containers/node/NodeBottomBlock/index.tsx @@ -9,7 +9,6 @@ import { NodeDeletedBadge } from '~/components/node/NodeDeletedBadge'; import { NodeNoComments } from '~/components/node/NodeNoComments'; import { NodeRelatedBlock } from '~/components/node/NodeRelatedBlock'; import { NodeTagsBlock } from '~/components/node/NodeTagsBlock'; -import { NodeBacklinks } from '~/containers/node/NodeBacklinks'; import { NodeComments } from '~/containers/node/NodeComments'; import { useNodeBlocks } from '~/hooks/node/useNodeBlocks'; import { useCommentContext } from '~/utils/context/CommentContextProvider'; @@ -18,6 +17,7 @@ import { useNodeRelatedContext } from '~/utils/context/NodeRelatedContextProvide import { NodeCommentFormSSR } from '../NodeCommentForm/ssr'; +import { NodeBacklinks } from './components/NodeBacklinks'; import styles from './styles.module.scss'; interface IProps {