Skip to content

Commit

Permalink
lint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jun 10, 2024
1 parent eb4c0a7 commit 0ce9d10
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions playground/components/nav/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const links = [
<div class="flex">
<NuxtLink
v-for="link in links"
:key="link.path"
:href="link.path"
class="px-4 pb-2 pt-4 hover:bg-gray-800"
:class="activeClasses(link.path)"
Expand Down
2 changes: 1 addition & 1 deletion playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
validation and error handling.
</p>

<NuxtLink to="/register-form">Register Form</NuxtLink>
<NuxtLink to="/register">Register Form</NuxtLink>

<h2>Register Form with Precognition</h2>

Expand Down
2 changes: 0 additions & 2 deletions playground/pages/register-precog.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
const entries = ref([]);
const form = usePrecognitionForm("post", "/api/register-precog", {
name: "",
email: "",
Expand Down
2 changes: 1 addition & 1 deletion playground/server/api/registrations/index.get.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fakeDatabase from "~/server/utils/fakeDatabase";

export default defineEventHandler(async (event) => {
export default defineEventHandler(async () => {
// get the list of registrations from the database

return fakeDatabase;
Expand Down

0 comments on commit 0ce9d10

Please sign in to comment.