Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazhafiz committed Jul 31, 2023
1 parent 8069d3a commit 29a5aab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/compiler/checkmate/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"build": "build:codegen && react-scripts build",
"build:codegen": "node ./scripts/gen_schema_dts.js",
"check": "tsc",
"lint": "eslint src/ scripts/",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down
3 changes: 2 additions & 1 deletion crates/compiler/checkmate/www/src/components/Ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default function Ui({ events }: UiProps): JSX.Element {
engine.stepTo(engine.lastEventIndex());
const subs = engine.subsSnapshot();

const [epoch, setEpoch] = useState(subs.epoch);
// _setEpoch to be used in the future!
const [epoch, _setEpoch] = useState(subs.epoch);

return (
<div
Expand Down

0 comments on commit 29a5aab

Please sign in to comment.