Skip to content

Commit

Permalink
Merge pull request #1 from salvobonsma/event-dialog
Browse files Browse the repository at this point in the history
event dialog change
  • Loading branch information
salvobonsma authored Jul 27, 2024
2 parents 8afda7a + 5abf7e9 commit 8af08db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm install
- name: Install dependencies without running postinstall
run: npm install --ignore-scripts

- name: Build with npm
run: npm run build
- name: Generate Prisma Client
run: npx prisma generate

- name: Build with npm
run: npm run build
12 changes: 1 addition & 11 deletions components/dialogs/new-event-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
'use client'

import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
DialogTrigger
} from "@/components/ui/dialog";
import {Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger} from "@/components/ui/dialog";
import {Button} from "@/components/ui/button";
import {Form, FormControl, FormField, FormItem, FormLabel, FormMessage} from "@/components/ui/form";
import {CardContent, CardFooter} from "@/components/ui/card";
Expand Down Expand Up @@ -96,9 +89,6 @@ export default function NewEventDialog() {
<DialogContent>
<DialogHeader>
<DialogTitle>New Event</DialogTitle>
<DialogDescription>
Creates a new event to pre-scout for.
</DialogDescription>
</DialogHeader>
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className={"mt-2"} autoComplete={"off"}>
Expand Down

0 comments on commit 8af08db

Please sign in to comment.