Fix lint error.

This commit is contained in:
Patricia Hillebrandt 2023-12-06 19:01:28 -03:00
parent 6305c8f001
commit 6bc41b24e3
1 changed files with 4 additions and 2 deletions

View File

@ -1582,6 +1582,8 @@ export const DEFAULT_COLOR_PALETTE_TITLES = [
'Slate',
];
export const DEFAULT_COLOR_PALETTES = DEFAULT_COLOR_PALETTE_TITLES.map(title =>
COLOR_PALETTES.find(palette => palette.title === title)
export const DEFAULT_COLOR_PALETTES = DEFAULT_COLOR_PALETTE_TITLES.map(
( title ) => COLOR_PALETTES.find(
( palette ) => palette.title === title
)
);