diff --git a/app/[...all]/page.tsx b/app/[...all]/page.tsx
index 76c6ba9..044dbe8 100644
--- a/app/[...all]/page.tsx
+++ b/app/[...all]/page.tsx
@@ -5,9 +5,9 @@ const App = dynamic(() => import('../../components/AppShell'), {
});
export function generateStaticParams() {
- return [{ all: ['tabs', 'feed'] }]
+ return [{ all: ['tabs', 'feed'] }];
}
export default function Page() {
return ;
-}
\ No newline at end of file
+}
diff --git a/app/layout.tsx b/app/layout.tsx
index 8b4a936..ef93351 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,4 +1,4 @@
-import type { Metadata, Viewport } from "next";
+import type { Metadata, Viewport } from 'next';
import Script from 'next/script';
import 'tailwindcss/tailwind.css';
@@ -22,15 +22,15 @@ import '../styles/global.css';
import '../styles/variables.css';
export const metadata: Metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
+ title: 'Create Next App',
+ description: 'Generated by create next app',
};
export const viewport: Viewport = {
initialScale: 1,
width: 'device-width',
- viewportFit: 'cover'
-}
+ viewportFit: 'cover',
+};
export default function RootLayout({
children,
@@ -39,14 +39,9 @@ export default function RootLayout({
}>) {
return (
-
-
{children}
+
+
);
}
-
-
diff --git a/app/page.tsx b/app/page.tsx
index a46946c..e92a5de 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -6,4 +6,4 @@ const App = dynamic(() => import('../components/AppShell'), {
export default function Page() {
return ;
-}
\ No newline at end of file
+}
diff --git a/components/AppShell.tsx b/components/AppShell.tsx
index b8d252d..edd9d5d 100644
--- a/components/AppShell.tsx
+++ b/components/AppShell.tsx
@@ -1,20 +1,15 @@
-'use client'
-import { IonApp, IonLabel, IonRouterOutlet, setupIonicReact, IonTabs, IonTabBar, IonTabButton, IonIcon } from '@ionic/react';
-import { cog, flash, list } from 'ionicons/icons';
+'use client';
+import { IonApp, IonRouterOutlet, setupIonicReact } from '@ionic/react';
import { StatusBar, Style } from '@capacitor/status-bar';
import { IonReactRouter } from '@ionic/react-router';
import { Redirect, Route } from 'react-router-dom';
-import Feed from './pages/Feed';
-import Lists from './pages/Lists';
-import ListDetail from './pages/ListDetail';
-import Settings from './pages/Settings';
import Tabs from './pages/Tabs';
setupIonicReact({});
-window.matchMedia("(prefers-color-scheme: dark)").addListener(async (status) => {
+window.matchMedia('(prefers-color-scheme: dark)').addListener(async status => {
try {
await StatusBar.setStyle({
style: status.matches ? Style.Dark : Style.Light,