mirror of
https://github.com/mue/mue.git
synced 2026-07-24 09:17:24 +02:00
refactor: minor cleanup
This commit is contained in:
@@ -9,7 +9,9 @@ import Chip from '@mui/material/Chip';
|
||||
|
||||
function ChipSelect({ label, options, name }) {
|
||||
let start = (localStorage.getItem('apiCategories') || '').split(',');
|
||||
if (start[0] === '') start = [];
|
||||
if (start[0] === '') {
|
||||
start = [];
|
||||
}
|
||||
|
||||
const [optionsSelected, setoptionsSelected] = useState(start);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user