Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Nov 8, 2024
1 parent 0268c95 commit 5cd3c2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion frontend/islands/DevelopmentLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function DevelopmentLogin() {
const waitingForAuth = useSignal(false);

const onClick = async (e: Event) => {
console.log("clicked");
e.preventDefault();
waitingForAuth.value = true;
const verifier = "abc";
Expand Down
3 changes: 3 additions & 0 deletions frontend/routes/_error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { ErrorDisplay } from "../components/ErrorDisplay.tsx";

export default function Error({ error }: { error: unknown }) {
if (error instanceof HttpError) {
if (error.status === 404 && error.message === "Not Found") {
error.message = "Couldn't find what you're looking for.";
}
return (
<>
<style
Expand Down
2 changes: 1 addition & 1 deletion frontend/routes/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Layout(
return (
<>
<div
class="min-h-[calc(100vh-3rem)]"
class="min-h-[calc(100vh-4rem)] md:min-h-[calc(100vh-4.5rem)]"
data-dark-theme="light"
>
<a
Expand Down

0 comments on commit 5cd3c2e

Please sign in to comment.