Skip to content

Commit

Permalink
Revert "feat: add logrocket and some refactor. (#16)" (#29)
Browse files Browse the repository at this point in the history
This reverts commit 1f79e20.
  • Loading branch information
hsnbd authored Oct 11, 2023
1 parent c8ef2df commit ad14f31
Show file tree
Hide file tree
Showing 12 changed files with 254 additions and 283 deletions.
4 changes: 2 additions & 2 deletions frontend/app/(transaction)/add-new-budget/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AddNewBudget from '@/component/AddNewBudget';

const AddNewBudgetPage = () => {
const addNewBudget = () => {
return <AddNewBudget />;
};
export default AddNewBudgetPage;
export default addNewBudget;
4 changes: 2 additions & 2 deletions frontend/app/(transaction)/add-transaction/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AddTransaction from '@/component/AddTransaction';

const AddTransactionPage = () => {
const addTransaction = () => {
return <AddTransaction />;
};
export default AddTransactionPage;
export default addTransaction;
4 changes: 2 additions & 2 deletions frontend/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DashBoard from '@/component/Dashboard';

const DashBoardPage = () => {
const dashbaord = () => {
return <DashBoard />;
};
export default DashBoardPage;
export default dashbaord;
29 changes: 15 additions & 14 deletions frontend/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@

import './globals.css'
import type {Metadata} from 'next'
import {Inter} from 'next/font/google'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'

const inter = Inter({subsets: ['latin']})
const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'budget-pro',
description: 'This is budget app. Develop by Tech Twig team',
title: 'Create Next App',
description: 'Generated by create next app',
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
return (
<html lang="en">
<body className={inter.className}>
{children}
</body>
</html>
)
</body>
</html>
)
}
Loading

0 comments on commit ad14f31

Please sign in to comment.