Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
k70suK3-k06a7ash1 committed Feb 24, 2025
1 parent 504bf36 commit 99be00f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { Spacer } from "./components/atoms/Spacer/index.js";
import { PreviewSection } from "./components/features/previewSection/index.js";
import { BottomAddSection } from "./components/atoms/icon/BottomAddSectionIcon/index.js";
import { useViewControl } from "./hooks/useViewControl.js";
import { SelectSeparateLevel } from "./components/features/selectSeparateLevel/index.js";
import { SubContent } from "./layouts/SubContent/index.js";
// import { SelectSeparateLevel } from "./components/features/selectSeparateLevel/index.js";
// import { SubContent } from "./layouts/SubContent/index.js";
import { useMarkdownContext } from "./context/MarkdownContext.js";

export const App = () => {
Expand Down
8 changes: 3 additions & 5 deletions src/layouts/Section/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { ReactNode, FC } from "react";
type Props = {
children: ReactNode;
};
export const Section: FC<Props> = ({ children }) => (
import type { PropsWithChildren } from "react";

export const Section = ({ children }: PropsWithChildren) => (
<div className="px-6 overflow-hidden">{children}</div>
);

0 comments on commit 99be00f

Please sign in to comment.