File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/renderer/components/layout Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ import type { FC, ReactNode } from 'react';
33
44import { 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 />
Original file line number Diff line number Diff line change 11import { Box } from '@primer/react' ;
22import 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 }
You can’t perform that action at this time.
0 commit comments