Skip to content

Commit 4b8cc78

Browse files
committed
refactor: layout components
Signed-off-by: Adam Setch <[email protected]>
1 parent b0bc0db commit 4b8cc78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/renderer/components/layout/AppLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import type { FC, ReactNode } from 'react';
33

44
import { Sidebar } from '../Sidebar';
55

6-
interface AppLayoutProps {
6+
interface IAppLayout {
77
children: ReactNode;
88
}
99

1010
/**
1111
* AppLayout is the main container for the application.
1212
* It handles the basic layout with sidebar and content area.
1313
*/
14-
export const AppLayout: FC<AppLayoutProps> = ({ children }) => {
14+
export const AppLayout: FC<IAppLayout> = ({ children }) => {
1515
return (
1616
<Box className="flex flex-col max-h-screen bg-gitify-background">
1717
<Sidebar />

src/renderer/components/layout/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Box } from '@primer/react';
22
import type { FC, ReactNode } from 'react';
33

4-
interface PageProps {
4+
interface IPage {
55
children: ReactNode;
66
id: string;
77
}
@@ -11,7 +11,7 @@ interface PageProps {
1111
* It creates a column layout for header, content, and footer.
1212
* The height is 100% to fill the parent container.
1313
*/
14-
export const Page: FC<PageProps> = ({ children, id }) => {
14+
export const Page: FC<IPage> = ({ children, id }) => {
1515
return (
1616
<Box className="flex flex-col h-screen" data-testid={id}>
1717
{children}

0 commit comments

Comments
 (0)