/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/edit-site/src/components/page-patterns/utils.js
2 строки
148 B
Ramon
Site editor: consolidate constants (#54484)
18 сен 2023, 13:29
Не верифицирован
18 сен 2023, 13:29
65e9bf4
Код
Авторство
О чём код?
export const filterOutDuplicatesByName = ( currentItem, index, items ) => index === items.findIndex( ( item ) => currentItem.name === item.name );