Closed aam-git closed 2 years ago
This reads better imo. EDIT: Wouldn't need block too. @aam-git
$: btns = colors .map((color) => ({ color })) .concat([{ text: '#', modal: true }]);
Nice, just updated the pull request to add this :)
EDIT: updated to remove blocks
lgtm. @nenadpnc Just noticed spaces are not consistent in the codebase. There is a mix of tabs, 2 spaces, and 4 spaces. After this is approved and merged, I can submit a PR to convert all to the js standard of 2 spaces.
EDIT: @aam-git If you change the indentation back to 2 spaces, it will de-noise the commit histories.
Done... Odd, not sure why vscode did that, I don't normally let it format svelte files.
Updates in this pull request