From a738d4ff8b5d31484daad4b5943f0986d707db6d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 14 Dec 2024 13:04:51 +0100 Subject: [PATCH] Cleanup --- .github/workflows/build.yml | 4 ---- src/components/authentication/SignUpForm.tsx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a32f72d..6086d2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,8 +31,6 @@ jobs: node-version: "20.11.1" - name: Load & cache dependencies uses: ./.github/actions/cached-deps - with: - caching: "false" - name: Run tests run: npm test build: @@ -48,8 +46,6 @@ jobs: - name: Load & cache dependencies uses: ./.github/actions/cached-deps id: chached-deps - - name: Output information - run: echo "Cache used? ${{ steps.chached-deps.outputs.used-cache }}" - name: Build the application run: npm run build - name: Upload artifacts diff --git a/src/components/authentication/SignUpForm.tsx b/src/components/authentication/SignUpForm.tsx index d45b8b2..ae750b8 100644 --- a/src/components/authentication/SignUpForm.tsx +++ b/src/components/authentication/SignUpForm.tsx @@ -25,7 +25,7 @@ export default function SignUpForm() { } async function handleSubmit(event: FormEvent) { - event.preventDefault() + event.preventDefault(); if (formFields.password !== formFields.confirmPassword) { return alert("Passwords do not match");