summaryrefslogtreecommitdiff
path: root/examples/framework-preact/src/components/Counter.tsx
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-09-21 19:23:58 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-09-21 19:23:58 +0000
commite3c78c5b164c338389c437743ba02a7be64e27fb (patch)
treeb3cda2b42b755c1f7c1809f937a7d8ca5e54b869 /examples/framework-preact/src/components/Counter.tsx
parent5e46be54683592773e6dfc2d33825493886114b0 (diff)
downloadastro-e3c78c5b164c338389c437743ba02a7be64e27fb.tar.gz
astro-e3c78c5b164c338389c437743ba02a7be64e27fb.tar.zst
astro-e3c78c5b164c338389c437743ba02a7be64e27fb.zip
[ci] format
Diffstat (limited to 'examples/framework-preact/src/components/Counter.tsx')
-rw-r--r--examples/framework-preact/src/components/Counter.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/framework-preact/src/components/Counter.tsx b/examples/framework-preact/src/components/Counter.tsx
index c2b065e3c..5d702fb42 100644
--- a/examples/framework-preact/src/components/Counter.tsx
+++ b/examples/framework-preact/src/components/Counter.tsx
@@ -2,7 +2,7 @@ import { h, Fragment } from 'preact';
import './Counter.css';
export default function Counter({ children, count }) {
- const add = () => count.value++
+ const add = () => count.value++;
const subtract = () => count.value--;
return (