diff options
author | 2022-09-21 19:23:58 +0000 | |
---|---|---|
committer | 2022-09-21 19:23:58 +0000 | |
commit | e3c78c5b164c338389c437743ba02a7be64e27fb (patch) | |
tree | b3cda2b42b755c1f7c1809f937a7d8ca5e54b869 /examples/framework-preact/src/components/Counter.tsx | |
parent | 5e46be54683592773e6dfc2d33825493886114b0 (diff) | |
download | astro-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.tsx | 2 |
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 ( |