🚨 Removed linter warnings
This commit is contained in:
parent
14d8f75929
commit
803e1c0552
138 changed files with 1591 additions and 1250 deletions
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue