mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Linter
This commit is contained in:
parent
8069d3ad34
commit
29a5aab56d
2 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
||||||
"build": "build:codegen && react-scripts build",
|
"build": "build:codegen && react-scripts build",
|
||||||
"build:codegen": "node ./scripts/gen_schema_dts.js",
|
"build:codegen": "node ./scripts/gen_schema_dts.js",
|
||||||
"check": "tsc",
|
"check": "tsc",
|
||||||
|
"lint": "eslint src/ scripts/",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
|
|
|
@ -31,7 +31,8 @@ export default function Ui({ events }: UiProps): JSX.Element {
|
||||||
engine.stepTo(engine.lastEventIndex());
|
engine.stepTo(engine.lastEventIndex());
|
||||||
const subs = engine.subsSnapshot();
|
const subs = engine.subsSnapshot();
|
||||||
|
|
||||||
const [epoch, setEpoch] = useState(subs.epoch);
|
// _setEpoch to be used in the future!
|
||||||
|
const [epoch, _setEpoch] = useState(subs.epoch);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue