From 42d8e7598c9fb236387be3eb1f0812bf96928022 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 22 Jul 2024 17:40:26 +0300 Subject: [PATCH] empty-files-removed --- api/edge-ssr.js | 0 src/graphql/client/core.ts | 0 src/routes/[slug]/[...tab].tsx | 6 +++--- src/{ => routes}/author/(all-authors).tsx | 0 src/{ => routes}/author/[slug]/[...tab].tsx | 0 5 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 api/edge-ssr.js delete mode 100644 src/graphql/client/core.ts rename src/{ => routes}/author/(all-authors).tsx (100%) rename src/{ => routes}/author/[slug]/[...tab].tsx (100%) diff --git a/api/edge-ssr.js b/api/edge-ssr.js deleted file mode 100644 index e69de29b..00000000 diff --git a/src/graphql/client/core.ts b/src/graphql/client/core.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/src/routes/[slug]/[...tab].tsx b/src/routes/[slug]/[...tab].tsx index 3ecb052f..df403bd1 100644 --- a/src/routes/[slug]/[...tab].tsx +++ b/src/routes/[slug]/[...tab].tsx @@ -12,7 +12,7 @@ import { descFromBody, keywordsFromTopics } from '~/utils/meta' import { FullArticle } from '../../components/Article/FullArticle' import { PageLayout } from '../../components/_shared/PageLayout' import { ReactionsProvider } from '../../context/reactions' -// import AuthorPage, { AuthorPageProps } from '../author/[slug]/[...tab]' +import AuthorPage, { AuthorPageProps } from '../author/[slug]/[...tab]' import TopicPage, { TopicPageProps } from '../topic/[slug]/[...tab]' const fetchShout = async (slug: string): Promise => { @@ -46,8 +46,8 @@ export default (props: RouteSectionProps) => { ...props.params, slug: props.params.slug.slice(1, props.params.slug.length) } - } // as RouteSectionProps - return // + } as RouteSectionProps + return } if (props.params.slug.startsWith('!')) { diff --git a/src/author/(all-authors).tsx b/src/routes/author/(all-authors).tsx similarity index 100% rename from src/author/(all-authors).tsx rename to src/routes/author/(all-authors).tsx diff --git a/src/author/[slug]/[...tab].tsx b/src/routes/author/[slug]/[...tab].tsx similarity index 100% rename from src/author/[slug]/[...tab].tsx rename to src/routes/author/[slug]/[...tab].tsx