diff --git a/frontend/src/routes/(admin)/settings/layout.tsx b/frontend/src/routes/(admin)/settings/layout.tsx
index 2f9b6e1..db131f0 100644
--- a/frontend/src/routes/(admin)/settings/layout.tsx
+++ b/frontend/src/routes/(admin)/settings/layout.tsx
@@ -1,16 +1,7 @@
import { component$, Slot } from '@builder.io/qwik'
import { WildebeestLogo } from '~/components/MastodonLogo'
-import { loader$ } from '@builder.io/qwik-city'
-import { getNotFoundHtml } from '~/utils/getNotFoundHtml/getNotFoundHtml'
-
-export const loader = loader$(({ html }) => {
- html(404, getNotFoundHtml())
-})
-
export default component$(() => {
- loader()
-
return (
diff --git a/frontend/src/routes/(frontend)/about/index.tsx b/frontend/src/routes/(frontend)/about/index.tsx
index 0ec0fa6..a251d4e 100644
--- a/frontend/src/routes/(frontend)/about/index.tsx
+++ b/frontend/src/routes/(frontend)/about/index.tsx
@@ -15,7 +15,6 @@ import { getAdmins } from 'wildebeest/functions/api/wb/settings/server/admins'
import { emailSymbol } from 'wildebeest/backend/src/activitypub/actors'
import { loadLocalMastodonAccount } from 'wildebeest/backend/src/mastodon/account'
import { AccountCard } from '~/components/AccountCard/AccountCard'
-import { getNotFoundHtml } from '~/utils/getNotFoundHtml/getNotFoundHtml'
type AboutInfo = {
image: string
@@ -27,9 +26,7 @@ type AboutInfo = {
}
}
-export const aboutInfoLoader = loader$
>(async ({ resolveValue, request, platform, html }) => {
- throw html(404, getNotFoundHtml())
-
+export const aboutInfoLoader = loader$>(async ({ resolveValue, request, platform }) => {
// TODO: fetching the instance for the thumbnail, but that should be part of the settings
const instance = await resolveValue(instanceLoader)