Skip to content

Commit 41928dd

Browse files
committed
Fixed ProjectType error on store.tsx
1 parent 1b7fbe1 commit 41928dd

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

app/Context/store.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const projectReducer = (
193193
}
194194

195195
case "CLEAR_PROJECT": {
196-
const emptyProject: Project = {
196+
const emptyProject: ProjectType = {
197197
id: 0,
198198
name: "clearedProject",
199199
tasks: [],

app/Styles/globals.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@tailwind base;
22
@tailwind components;
3-
@tailwind utilities;
3+
@tailwind utilities;

app/components/AuthForm.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ const AuthForm = () => {
2626
padding: "20px",
2727
borderRadius: "10px",
2828
border: "1px solid rgba(0,0,0,0.18)",
29-
marginTop: "40px"
29+
marginTop: "40px",
3030
},
3131
button: {
3232
background: "#f9fafb",
3333
color: "black",
3434
border: "outset 1px black",
3535
},
3636
input: { background: "white", color: "black" },
37-
message: { color: "red"}
37+
message: { color: "red" },
3838
},
3939
}}
4040
theme="dark"

app/components/CallToAction.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
const CallToAction = () => {
2-
return <p className="mt-5 mb-5 text-xl">Start making your dream side-project today!</p>
2+
return (
3+
<p className="mt-5 mb-5 text-xl">
4+
Start making your dream side-project today!
5+
</p>
6+
)
37
}
48

59
export default CallToAction

app/page.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const Home: React.FC = async () => {
2121
<div className="flex flex-col h-screen w-screen items-center justify-around">
2222
<div className="flex flex-col h-screen w-screen items-center justify-center">
2323
<Image src={LOGO} alt="Ai-Kan" className="mt-20 w-1/6 rounded-lg" />
24-
<CallToAction/>
24+
<CallToAction />
2525
</div>
26-
<AuthForm/>
26+
<AuthForm />
2727
<div className="mt-10 bg-gray-800">
28-
<Features/>
28+
<Features />
2929
</div>
3030
</div>
3131
)

0 commit comments

Comments
 (0)