From 2e39671e683f2fdf5a94dafe8d49c4c5befa38c8 Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Wed, 13 Mar 2024 05:14:56 +0000
Subject: refactor: finish removing CSS modules

---
 src/Toolbar.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/Toolbar.tsx')

diff --git a/src/Toolbar.tsx b/src/Toolbar.tsx
index dded98d..32f53ab 100644
--- a/src/Toolbar.tsx
+++ b/src/Toolbar.tsx
@@ -1,6 +1,6 @@
 import { useId } from 'preact/hooks';
 import { NodeInfo } from './node.tsx';
-import styles from './Toolbar.module.css';
+import './Toolbar.css';
 
 export interface ToolbarProps {
 	nodes: Record<string, NodeInfo>;
@@ -10,12 +10,12 @@ export interface ToolbarProps {
 export const Toolbar = ({ nodes, onNodeAdded = _ => {} }: ToolbarProps) => {
 	const id = useId();
 	return (
-		<div class={styles.toolbar}>
+		<div class="__Toolbar">
 			<menu>
 				<li><button>Edit</button></li>
 				<li><button>Select</button></li>
 				<li>
-					<menu id={id} class={styles.addMenu} popover="auto">
+					<menu id={id} class="addMenu" popover="auto">
 						{Object.entries(nodes).map(([name, node]) => (
 							<li><button onClick={() => onNodeAdded(node)}>{name}</button></li>
 						))}
-- 
cgit v1.2.3

