From 8c8aad4c21fde2cd37e25ccd4c723a308b79439b Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 20 Dec 2022 10:16:39 -0300
Subject: fix #7524: do not break if the account is in an invalid state

---
 packages/demobank-ui/src/stories.tsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'packages/demobank-ui/src/stories.tsx')

diff --git a/packages/demobank-ui/src/stories.tsx b/packages/demobank-ui/src/stories.tsx
index a8ebcd867..54bda49a2 100644
--- a/packages/demobank-ui/src/stories.tsx
+++ b/packages/demobank-ui/src/stories.tsx
@@ -27,10 +27,6 @@ import { renderStories } from "@gnu-taler/web-util/lib/index.browser";
 
 import "./scss/main.scss";
 
-function SortStories(a: any, b: any): number {
-  return (a?.order ?? 0) - (b?.order ?? 0);
-}
-
 function main(): void {
   renderStories(
     { pages, components },
-- 
cgit v1.2.3

