Skip to content

Commit

Permalink
revert: Revert "chore: Adds background color to page and permutation …
Browse files Browse the repository at this point in the history
…containers" (#2693)
  • Loading branch information
avinashbot authored Sep 11, 2024
1 parent 04f1326 commit b922cf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
13 changes: 0 additions & 13 deletions pages/app/components/page-view.scss

This file was deleted.

6 changes: 1 addition & 5 deletions pages/app/components/page-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import React, { lazy, Suspense } from 'react';
import pagesContext from '../pages-context';
import ErrorBoundary from './error-boundary';

import styles from './page-view.scss';

const pagesComponents: Record<string, ReturnType<typeof lazy>> = {};

export default function PageView({ pageId }: { pageId: string }) {
Expand All @@ -17,9 +15,7 @@ export default function PageView({ pageId }: { pageId: string }) {
return (
<ErrorBoundary key={pageId}>
<Suspense fallback={<span>Loading...</span>}>
<div className={styles['page-container']}>
<Page />
</div>
<Page />
</Suspense>
</ErrorBoundary>
);
Expand Down

0 comments on commit b922cf1

Please sign in to comment.