diff --git a/nextjs/getServerSideProps.ts b/nextjs/getServerSideProps.ts index eb74246176..413b19bf29 100644 --- a/nextjs/getServerSideProps.ts +++ b/nextjs/getServerSideProps.ts @@ -201,13 +201,3 @@ export const gasTracker: GetServerSideProps = async(context) => { return base(context); }; - -export const blobs: GetServerSideProps = async(context) => { - if (config.UI.views.tx.hiddenViews?.blob_txs) { - return { - notFound: true, - }; - } - - return base(context); -}; diff --git a/pages/blobs/[hash].tsx b/pages/blobs/[hash].tsx index dd7005465a..f746e4a82c 100644 --- a/pages/blobs/[hash].tsx +++ b/pages/blobs/[hash].tsx @@ -17,4 +17,4 @@ const Page: NextPage = (props: Props) => { export default Page; -export { blobs as getServerSideProps } from 'nextjs/getServerSideProps'; +export { base as getServerSideProps } from 'nextjs/getServerSideProps';