From 9117d1355e4448429807f43dc268f7bfa770182a Mon Sep 17 00:00:00 2001 From: runarvestmann Date: Mon, 3 Jun 2024 15:21:31 +0000 Subject: [PATCH] Skip article layouts for now --- .../[slug]/[subSlug]/[genericListItemSlug]/index.ts | 12 ------------ .../[slug]/[subSlug]/[genericListItemSlug]/index.ts | 12 ------------ 2 files changed, 24 deletions(-) delete mode 100644 apps/web/pages/[slug]/[subSlug]/[genericListItemSlug]/index.ts delete mode 100644 apps/web/pages/en/[slug]/[subSlug]/[genericListItemSlug]/index.ts diff --git a/apps/web/pages/[slug]/[subSlug]/[genericListItemSlug]/index.ts b/apps/web/pages/[slug]/[subSlug]/[genericListItemSlug]/index.ts deleted file mode 100644 index a8e4bdf665b5..000000000000 --- a/apps/web/pages/[slug]/[subSlug]/[genericListItemSlug]/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import withApollo from '@island.is/web/graphql/withApollo' -import { withLocale } from '@island.is/web/i18n' -import GenericListItem from '@island.is/web/screens/GenericList/GenericListItem' -import { getServerSidePropsWrapper } from '@island.is/web/utils/getServerSidePropsWrapper' - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore make web strict -const Screen = withApollo(withLocale('is')(GenericListItem)) - -export default Screen - -export const getServerSideProps = getServerSidePropsWrapper(Screen) diff --git a/apps/web/pages/en/[slug]/[subSlug]/[genericListItemSlug]/index.ts b/apps/web/pages/en/[slug]/[subSlug]/[genericListItemSlug]/index.ts deleted file mode 100644 index fed923d3a5a9..000000000000 --- a/apps/web/pages/en/[slug]/[subSlug]/[genericListItemSlug]/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import withApollo from '@island.is/web/graphql/withApollo' -import { withLocale } from '@island.is/web/i18n' -import GenericListItem from '@island.is/web/screens/GenericList/GenericListItem' -import { getServerSidePropsWrapper } from '@island.is/web/utils/getServerSidePropsWrapper' - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore make web strict -const Screen = withApollo(withLocale('en')(GenericListItem)) - -export default Screen - -export const getServerSideProps = getServerSidePropsWrapper(Screen)