Skip to content

Commit

Permalink
study: studyForProject
Browse files Browse the repository at this point in the history
스터디 진행하면서 필요한 내용 공유를 위한 커밋
#6
  • Loading branch information
11t518s committed Aug 8, 2022
1 parent 1b5a912 commit ba4136f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ContextStore from "../Context/contextApi";
import ContextStore from "../context/contextApi";
import "../styles/globals.css";

function MyApp({ Component, pageProps }) {
Expand Down
10 changes: 10 additions & 0 deletions pages/example/_components/ExampleComponent.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const ExampleComponent = () => {
const test = [1, 2, 3, 4, 5];
return (
<>
<div>component</div>
</>
);
};

export default ExampleComponent;
12 changes: 12 additions & 0 deletions pages/example/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import ExampleComponent from "./_components/exampleComponent";

const Example = () => {
return (
<>
<div>example</div>
<ExampleComponent />
</>
);
};

export default Example;
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useContext } from "react";
import { ContextApi } from "../Contexts/contextApi";
import { ContextApi } from "../context/contextApi";
import styles from "../styles/Home.module.css";

export default function Home() {
Expand Down

0 comments on commit ba4136f

Please sign in to comment.