From 06b0914a886b24929fac10ed49950f8eca022552 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 16 Jul 2022 17:41:10 +0200 Subject: [PATCH] Fix toolbar missing a class --- components/generic/toolbar/bar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/generic/toolbar/bar.tsx b/components/generic/toolbar/bar.tsx index 8857268..175ff7c 100644 --- a/components/generic/toolbar/bar.tsx +++ b/components/generic/toolbar/bar.tsx @@ -1,6 +1,6 @@ import { default as classNames } from "classnames" import { ComponentPropsWithoutRef, memo, ReactNode } from "react" -import style from "./base.module.css" +import style from "./bar.module.css" export type ToolBarProps = ComponentPropsWithoutRef<"div"> & { @@ -37,7 +37,7 @@ export const ToolBar = memo((props: ToolBarProps) => { role="toolbar" {...props} className={classNames( - "toolbar", + style.toolbar, props.vertical === "top" ? style.toolbarTop : null, props.vertical === "bottom" ? style.toolbarBottom : null, props.vertical === "vadapt" ? style.toolbarVadapt : null,