1
0
Fork 0

🚨 Removed linter warnings

This commit is contained in:
Joost De Cock 2019-05-10 13:14:31 +02:00
parent 14d8f75929
commit 803e1c0552
138 changed files with 1591 additions and 1250 deletions

View file

@ -7,14 +7,6 @@ import models from "@freesewing/models";
const SampleConfigurator = props => {
const [expanded, setExpanded] = useState([]);
const toggleGroup = group => {
let shown = expanded.slice(0);
let index = shown.indexOf(group);
if (index === -1) shown.push(group);
else shown.splice(index, 1);
setExpanded(shown);
};
const sampleOption = option => {
props.updateGist(
{