Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 9 including css-styles section #75

Merged
merged 12 commits into from
Jul 30, 2024
Merged
Prev Previous commit
Next Next commit
minor updates
  • Loading branch information
ccatto committed Jun 24, 2024
commit 7f05515e2b16d6f6c50096a5a68a349abbb39375
Original file line number Diff line number Diff line change
@@ -188,6 +188,7 @@ const page = () => {
<SyntaxHighlightingReactCatto
codeString={codeBlock}
/>
<div className='indent-4'>Also at the top we need to add 'use client'.</div>
</div>
</div>
</div>
1 change: 0 additions & 1 deletion app/api/contact/route.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// app/api/hello.js

import { PrismaClient } from '@prisma/client';

7 changes: 7 additions & 0 deletions app/components/Utils/Redirect/redirect.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use server";

import { redirect } from "next/navigation";

export async function navigate(path: string) {
redirect(path);
}