{renderButton ? (
- <>
+
{
@@ -182,9 +182,9 @@ export function DiceRoller(props: { theme?: ThemeType; button?: boolean }) {
{renderDialogContent()}
- >
+
) : (
- <>{renderDialogContent()}>
+ {renderDialogContent()}
)}
);
diff --git a/src/components/client/NothingToShowHere/NothingToShowHere.tsx b/src/components/client/NothingToShowHere/NothingToShowHere.tsx
index a421bda..bf6243d 100644
--- a/src/components/client/NothingToShowHere/NothingToShowHere.tsx
+++ b/src/components/client/NothingToShowHere/NothingToShowHere.tsx
@@ -1,5 +1,6 @@
import { Container, Flex, Text } from "@radix-ui/themes";
import { CircleOff } from "lucide-react";
+import type { JSX } from "react";
import { MDXH1 } from "../MDX/MDX";
export function NothingToShowHere(props: {
diff --git a/src/domains/dl/DLAstro.tsx b/src/domains/dl/DLAstro.tsx
index 5a3e802..b4eeb4d 100644
--- a/src/domains/dl/DLAstro.tsx
+++ b/src/domains/dl/DLAstro.tsx
@@ -13,6 +13,10 @@ export const DLAstro = {
}) {
const creator = await getEntry("creators", props.id);
+ if (!creator) {
+ throw new Error("DLAstro.getCreator: Creator not found");
+ }
+
let games: Array