From ef4fb0a5277ee99bd0f1747b77e733ef7f02460d Mon Sep 17 00:00:00 2001
From: flu0r1ne <flu0r1ne@flu0r1ne.net>
Date: Wed, 6 Sep 2023 19:53:23 -0500
Subject: Make BreadCrumbs domain agnostic

---
 utils/assert.tsx | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 utils/assert.tsx

(limited to 'utils/assert.tsx')

diff --git a/utils/assert.tsx b/utils/assert.tsx
new file mode 100644
index 0000000..0ee51a0
--- /dev/null
+++ b/utils/assert.tsx
@@ -0,0 +1,3 @@
+export default function assert(cond : boolean, message?: string) {
+  if(!cond) { throw Error(message); }
+};
-- 
cgit v1.2.3

