Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
quick007 committed Nov 16, 2023
1 parent dc64451 commit 107c67e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import * as $$26 from "./islands/events/viewing/register.tsx";
import * as $$27 from "./islands/events/viewing/showtimes.tsx";
import * as $$28 from "./islands/loginForm.tsx";
import * as $$29 from "./islands/queueManagement.tsx";
import * as $$30 from "./islands/tickets/filters.tsx";

const manifest = {
routes: {
Expand Down Expand Up @@ -149,6 +150,7 @@ const manifest = {
"./islands/events/viewing/showtimes.tsx": $$27,
"./islands/loginForm.tsx": $$28,
"./islands/queueManagement.tsx": $$29,
"./islands/tickets/filters.tsx": $$30,
},
baseUrl: import.meta.url,
};
Expand Down
4 changes: 2 additions & 2 deletions islands/events/viewing/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function EventRegister({
additionalFields: Field[];
user?: User;
}) {
const [open, setOpen] = useState(true);
const [open, setOpen] = useState(false);
const changeOpen = useSignal(false);
const page = useSignal(0);
const tickets = useSignal(1);
Expand Down Expand Up @@ -136,7 +136,7 @@ export default function EventRegister({
<p class="text-center text-red-500 text-sm mb-2">
{error.value.message}
</p>
<RegisterErrors code={EventRegisterError.PREVIOUSLY_LOGGED_IN} />
<RegisterErrors code={error.value.code} />
</div>
)}
</>
Expand Down

0 comments on commit 107c67e

Please sign in to comment.