From cd590b18e856a128af3c31d9e7d4a621ea44024c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 23 Apr 2024 11:31:56 -0300 Subject: tidy up: some header missing --- packages/aml-backoffice-ui/src/stories.tsx | 43 ++++++++++++++++-------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'packages/aml-backoffice-ui/src/stories.tsx') diff --git a/packages/aml-backoffice-ui/src/stories.tsx b/packages/aml-backoffice-ui/src/stories.tsx index 1aa6a44ac..017a31ffa 100644 --- a/packages/aml-backoffice-ui/src/stories.tsx +++ b/packages/aml-backoffice-ui/src/stories.tsx @@ -24,39 +24,42 @@ import * as pages from "./pages/index.stories.js"; import { renderStories } from "@gnu-taler/web-util/browser"; -import "./scss/main.css"; -import { h, ComponentChildren, FunctionComponent, VNode } from "preact"; +import { ComponentChildren, FunctionComponent, VNode, h } from "preact"; import { ExchangeApiContextTesting } from "./context/config.js"; +import "./scss/main.css"; function main(): void { renderStories( { pages }, { strings, - getWrapperForGroup + getWrapperForGroup, }, ); } function getWrapperForGroup(): FunctionComponent { return function All({ children }: { children?: ComponentChildren }): VNode { - return - {children} - - } + return ( + + {children} + + ); + }; } if (document.readyState === "loading") { -- cgit v1.2.3