Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9248765
update headlessui package to 2.1.2
John-Paul-Larkin Aug 13, 2024
464f3b6
update alpha/new components
John-Paul-Larkin Aug 13, 2024
2969ccc
update alpha/settings components
John-Paul-Larkin Aug 13, 2024
1a5febd
update create/_client components
John-Paul-Larkin Aug 13, 2024
72671e3
update /my-posts components
John-Paul-Larkin Aug 13, 2024
f036049
update /settings components
John-Paul-Larkin Aug 13, 2024
c9a8d9a
update ArticleMenu component
John-Paul-Larkin Aug 13, 2024
ea021bc
update ArticlePreview componentOA
John-Paul-Larkin Aug 13, 2024
faf9fc8
update CommentsArea component
John-Paul-Larkin Aug 13, 2024
dcc400d
update ImageDetailsModal component
John-Paul-Larkin Aug 13, 2024
2f4ba69
update Modal component
John-Paul-Larkin Aug 13, 2024
f9bae0a
update MobileNav component
John-Paul-Larkin Aug 13, 2024
f5eeab1
update Nav component
John-Paul-Larkin Aug 13, 2024
0ba60b9
update PromptDialog component
John-Paul-Larkin Aug 13, 2024
ed95e32
update ReportModal component
John-Paul-Larkin Aug 13, 2024
3447dc1
update Search component
John-Paul-Larkin Aug 13, 2024
eb3b101
Merge commit '1ce593f' into refactor/onboarding-form
John-Paul-Larkin Aug 14, 2024
0146d24
rename handleSubmit funcitons to SubmitAction
John-Paul-Larkin Aug 14, 2024
02da6c3
add tailwind ui components
John-Paul-Larkin Aug 14, 2024
50d9e17
add tailwind ui Select component
John-Paul-Larkin Aug 14, 2024
146d43c
add tailwind ui Button component
John-Paul-Larkin Aug 15, 2024
240bed2
remove dropdown chevron from Select component
John-Paul-Larkin Aug 15, 2024
ec3d782
add index.ts for centralised export of catalyst components
John-Paul-Larkin Aug 15, 2024
525d7d0
refactor slide one
John-Paul-Larkin Aug 15, 2024
ab849a3
uopdate catalyst exports from index.ts
John-Paul-Larkin Aug 15, 2024
d60cead
refactor slide two
John-Paul-Larkin Aug 15, 2024
a9fbc9a
refactor slide three
John-Paul-Larkin Aug 15, 2024
d877224
Merge branch 'develop' into refactor/onboarding-form
NiallJoeMaher Aug 16, 2024
4a57c6c
rename folder to components
John-Paul-Larkin Aug 16, 2024
7840211
Merge branch 'refactor/onboarding-form' of github.com:codu-code/codu …
John-Paul-Larkin Aug 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions app/(app)/alpha/additional-details/_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { db } from "@/server/db";
import { user } from "@/server/db/schema";
import { eq } from "drizzle-orm";

export async function handleFormSlideOneSubmit(dataInput: TypeSlideOneSchema) {
export async function slideOneSubmitAction(dataInput: TypeSlideOneSchema) {
const session = await getServerAuthSession();
if (!session || !session.user) {
redirect("/get-started");
Expand Down Expand Up @@ -47,7 +47,7 @@ export async function handleFormSlideOneSubmit(dataInput: TypeSlideOneSchema) {
}
}

export async function handleFormSlideTwoSubmit(dataInput: TypeSlideTwoSchema) {
export async function slideTwoSubmitAction(dataInput: TypeSlideTwoSchema) {
const session = await getServerAuthSession();
if (!session || !session.user) {
redirect("/get-started");
Expand Down Expand Up @@ -75,9 +75,7 @@ export async function handleFormSlideTwoSubmit(dataInput: TypeSlideTwoSchema) {
}
}

export async function handleFormSlideThreeSubmit(
dataInput: TypeSlideThreeSchema,
) {
export async function slideThreeSubmitAction(dataInput: TypeSlideThreeSchema) {
const session = await getServerAuthSession();
if (!session || !session.user) {
redirect("/get-started");
Expand Down
Loading