diff --git a/app/components/Header.tsx b/app/components/Header.tsx
index f9f7e8b..53dccd6 100644
--- a/app/components/Header.tsx
+++ b/app/components/Header.tsx
@@ -41,7 +41,6 @@ export default function Header({ logoColor, children }: React.PropsWithChildren<
{children}
- {/*
*/}
>
);
}
diff --git a/app/components/Select.tsx b/app/components/Select.tsx
index 4dba425..b84de88 100644
--- a/app/components/Select.tsx
+++ b/app/components/Select.tsx
@@ -41,8 +41,6 @@ export default function Select<
const [isOpen, setIsOpen] = React.useState(false);
const anchor = React.useRef(null);
- // const handle
-
const selectedOption = options.find((o) => o.value === value);
return (
diff --git a/app/routes/e/$extensionSlug/$themeSlug/open.tsx b/app/routes/e/$extensionSlug/$themeSlug/open.tsx
index 46e4611..bd0cd7b 100644
--- a/app/routes/e/$extensionSlug/$themeSlug/open.tsx
+++ b/app/routes/e/$extensionSlug/$themeSlug/open.tsx
@@ -17,8 +17,7 @@ export const loader: LoaderFunction = async ({ request, params }) => {
throw new Error('Missing extension');
}
if (!themeSlug) {
- // TODO: Redirect to first theme in extension
- throw new Error('Missing extension');
+ throw new Error('Missing theme');
}
const query = parseQuery(request);
diff --git a/app/routes/e/$extensionSlug/$themeSlug[.jpg].ts b/app/routes/e/$extensionSlug/$themeSlug[.jpg].ts
index c13e7b6..fb5b7eb 100644
--- a/app/routes/e/$extensionSlug/$themeSlug[.jpg].ts
+++ b/app/routes/e/$extensionSlug/$themeSlug[.jpg].ts
@@ -16,8 +16,7 @@ export const loader: LoaderFunction = async ({ request, params }) => {
throw new Error('Missing extension');
}
if (!themeSlug) {
- // TODO: Redirect to first theme in extension
- throw new Error('Missing extension');
+ throw new Error('Missing theme');
}
const query = parseQuery(request);
diff --git a/app/routes/e/$extensionSlug/$themeSlug[.svg].ts b/app/routes/e/$extensionSlug/$themeSlug[.svg].ts
index 8698e06..4d4d34f 100644
--- a/app/routes/e/$extensionSlug/$themeSlug[.svg].ts
+++ b/app/routes/e/$extensionSlug/$themeSlug[.svg].ts
@@ -17,8 +17,7 @@ export const loader: LoaderFunction = async ({ request, params }) => {
throw new Error('Missing extension');
}
if (!themeSlug) {
- // TODO: Redirect to first theme in extension
- throw new Error('Missing extension');
+ throw new Error('Missing theme');
}
const query = parseQuery(request);