From 57e11f2bb76de6d55579b7814bc801543a85a90e Mon Sep 17 00:00:00 2001
From: "Fred K. Schott" <fkschott@gmail.com>
Date: Fri, 1 Oct 2021 15:25:27 -0700
Subject: improve solidjs template (#1475)

---
 examples/framework-solid/src/components/Counter.tsx | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 examples/framework-solid/src/components/Counter.tsx

(limited to 'examples/framework-solid/src/components/Counter.tsx')

diff --git a/examples/framework-solid/src/components/Counter.tsx b/examples/framework-solid/src/components/Counter.tsx
deleted file mode 100644
index 12f4f9f78..000000000
--- a/examples/framework-solid/src/components/Counter.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { createSignal } from 'solid-js';
-
-/** */
-export default function SolidCounter({ children }) {
-  const [count, setCount] = createSignal(0);
-  const add = () => setCount(count() + 1);
-  const subtract = () => setCount(count() - 1);
-
-  return (
-    <>
-      <div class="counter">
-        <button onClick={subtract}>-</button>
-        <pre>{count()}</pre>
-        <button onClick={add}>+</button>
-      </div>
-      <div class="children">{children}</div>
-    </>
-  );
-}
-- 
cgit v1.2.3

