Skip to content

Commit

Permalink
correct starting values
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Nov 11, 2023
1 parent b3781f2 commit 15e06b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixture/vite/src/styles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { styled } from 'goober';

export const Style = styled('div')`
background-color: #fff;
background-color: #000;
`;
2 changes: 1 addition & 1 deletion test/fixture/vite/src/useCounter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { useState } from 'preact/hooks';

export const useCounter = () => {
const [state, setState] = useState(0);
return [state, () => setState(state + 2)];
return [state, () => setState(state + 1)];
};

0 comments on commit 15e06b2

Please sign in to comment.