Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): filters out upload specific fields for bulk editing #10726

Merged
merged 23 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ee3f39d
chore: adds translations for edit all button
PatrikKozak Jan 17, 2025
1ea8a67
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 17, 2025
1e6ca95
feat: adds edit many option for bulk uploads
PatrikKozak Jan 20, 2025
81e751a
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 20, 2025
bd0d547
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 20, 2025
3722446
chore: re-introduces ClientCollectionConfig type to AddingFilesView
PatrikKozak Jan 20, 2025
8d29436
chore: remove unused import
PatrikKozak Jan 20, 2025
1f7d784
chore: simplifies onChange & handleSave logic in drawer
PatrikKozak Jan 21, 2025
b93ca6f
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 21, 2025
29e96f8
feat: properly validates fields in edit many bulk upload drawer
PatrikKozak Jan 21, 2025
9aedd7e
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 21, 2025
d10e70e
feat: improve desktop & mobile bulk uploads drawer view
PatrikKozak Jan 21, 2025
19f9b91
chore: update DrawerHeader prop collectionConfig to optional
PatrikKozak Jan 21, 2025
80d9ea7
feat: adds tests for edit many bulk uploads
PatrikKozak Jan 22, 2025
7cfe6fb
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 22, 2025
81cbd3f
fix: filters out upload specific fields for bulk editing
PatrikKozak Jan 22, 2025
dc84683
chore: simplify function
PatrikKozak Jan 22, 2025
02f05c4
chore: move Edit all button in drawer
PatrikKozak Jan 22, 2025
a68114f
Merge branch 'main' of github.com:payloadcms/payload into feat/bulk-u…
PatrikKozak Jan 22, 2025
ac900e9
Merge branch 'feat/bulk-upload-edit-many' of github.com:payloadcms/pa…
PatrikKozak Jan 22, 2025
cbd3e05
feat: removes unnecessary setting of initialState
PatrikKozak Jan 22, 2025
f8add92
Merge branch 'feat/bulk-upload-edit-many' of github.com:payloadcms/pa…
PatrikKozak Jan 22, 2025
4d2ea37
Merge branch 'main' of github.com:payloadcms/payload into fix/filter-…
PatrikKozak Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/translations/src/clientKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export const clientTranslationKeys = createClientTranslationKeys([
'general:duplicate',
'general:duplicateWithoutSaving',
'general:edit',
'general:editAll',
'general:editing',
'general:editingLabel',
'general:editingTakenOver',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export const arTranslations: DefaultTranslationsObject = {
duplicate: 'استنساخ',
duplicateWithoutSaving: 'استنساخ بدون حفظ التغييرات',
edit: 'تعديل',
editAll: 'تحرير الكل',
editedSince: 'تم التحرير منذ',
editing: 'جاري التعديل',
editingLabel_many: 'تعديل {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/az.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const azTranslations: DefaultTranslationsObject = {
duplicate: 'Dublikat',
duplicateWithoutSaving: 'Dəyişiklikləri saxlamadan dublikatla',
edit: 'Redaktə et',
editAll: 'Hamısını redaktə et',
editedSince: 'Redaktə edilib',
editing: 'Redaktə olunur',
editingLabel_many: '{{count}} {{label}} redaktə olunur',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/bg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const bgTranslations: DefaultTranslationsObject = {
duplicate: 'Дупликирай',
duplicateWithoutSaving: 'Дупликирай без да запазваш промените',
edit: 'Редактирай',
editAll: 'Редактирай всички',
editedSince: 'Редактирано от',
editing: 'Редактиране',
editingLabel_many: 'Редактиране на {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const caTranslations: DefaultTranslationsObject = {
duplicate: 'Duplicar',
duplicateWithoutSaving: 'Duplica sense desar',
edit: 'Edita',
editAll: 'Edita-ho tot',
editedSince: 'Editat des de',
editing: 'Editant',
editingLabel_many: 'Editent {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const csTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikovat',
duplicateWithoutSaving: 'Duplikovat bez uložení změn',
edit: 'Upravit',
editAll: 'Upravit vše',
editedSince: 'Upraveno od',
editing: 'Úprava',
editingLabel_many: 'Úprava {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/da.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const daTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikér',
duplicateWithoutSaving: 'Dupliker uden at gemme ændringer',
edit: 'Redigere',
editAll: 'Rediger alle',
editedSince: 'Dette dokument er blevet redigeret siden du startede',
editing: 'Rediger',
editingLabel_many: 'Rediger {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export const deTranslations: DefaultTranslationsObject = {
duplicate: 'Duplizieren',
duplicateWithoutSaving: 'Dupliziere ohne Änderungen zu speichern',
edit: 'Bearbeiten',
editAll: 'Bearbeite alle',
editedSince: 'Bearbeitet seit',
editing: 'Bearbeite',
editingLabel_many: 'Bearbeiten von {{count}} {{label}}',
Expand Down
5 changes: 3 additions & 2 deletions packages/translations/src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const enTranslations = {
duplicate: 'Duplicate',
duplicateWithoutSaving: 'Duplicate without saving changes',
edit: 'Edit',
editAll: 'Edit all',
editedSince: 'Edited since',
editing: 'Editing',
editingLabel_many: 'Editing {{count}} {{label}}',
Expand Down Expand Up @@ -375,8 +376,8 @@ export const enTranslations = {
within: 'within',
},
upload: {
addFile: 'Add File',
addFiles: 'Add Files',
addFile: 'Add file',
addFiles: 'Add files',
bulkUpload: 'Bulk Upload',
crop: 'Crop',
cropToolDescription:
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export const esTranslations: DefaultTranslationsObject = {
duplicate: 'Duplicar',
duplicateWithoutSaving: 'Duplicar sin guardar cambios',
edit: 'Editar',
editAll: 'Editar Todo',
editedSince: 'Editado desde',
editing: 'Editando',
editingLabel_many: 'Edición de {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/et.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export const etTranslations: DefaultTranslationsObject = {
duplicate: 'Dubleeri',
duplicateWithoutSaving: 'Dubleeri ilma muudatusi salvestamata',
edit: 'Muuda',
editAll: 'Muuda kõiki',
editedSince: 'Muudetud alates',
editing: 'Muutmine',
editingLabel_many: 'Muudan {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const faTranslations: DefaultTranslationsObject = {
duplicate: 'تکراری',
duplicateWithoutSaving: 'رونوشت بدون ذخیره کردن تغییرات',
edit: 'نگارش',
editAll: 'ویرایش همه',
editedSince: 'ویرایش شده از',
editing: 'در حال نگارش',
editingLabel_many: 'در حال نگارش {{count}} از {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const frTranslations: DefaultTranslationsObject = {
duplicate: 'Dupliquer',
duplicateWithoutSaving: 'Dupliquer sans enregistrer les modifications',
edit: 'Éditer',
editAll: 'Modifier tout',
editedSince: 'Modifié depuis',
editing: 'Modification en cours',
editingLabel_many: 'Modification des {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/he.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ export const heTranslations: DefaultTranslationsObject = {
duplicate: 'שכפול',
duplicateWithoutSaving: 'שכפול ללא שמירת שינויים',
edit: 'עריכה',
editAll: 'עריכה הכל',
editedSince: 'נערך מאז',
editing: 'עריכה',
editingLabel_many: 'עריכת {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/hr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const hrTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikat',
duplicateWithoutSaving: 'Dupliciraj bez spremanja promjena',
edit: 'Uredi',
editAll: 'Uredi sve',
editedSince: 'Uređeno od',
editing: 'Uređivanje',
editingLabel_many: 'Uređivanje {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/hu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export const huTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikálás',
duplicateWithoutSaving: 'Duplikálás a módosítások mentése nélkül',
edit: 'Szerkesztés',
editAll: 'Összes szerkesztése',
editedSince: 'Szerkesztve',
editing: 'Szerkesztés',
editingLabel_many: '{{count}} {{label}} szerkesztése',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export const itTranslations: DefaultTranslationsObject = {
duplicate: 'Duplica',
duplicateWithoutSaving: 'Duplica senza salvare le modifiche',
edit: 'Modificare',
editAll: 'Modifica Tutto',
editedSince: 'Modificato da',
editing: 'Modifica',
editingLabel_many: 'Modificare {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const jaTranslations: DefaultTranslationsObject = {
duplicate: '複製',
duplicateWithoutSaving: '変更を保存せずに複製',
edit: '編集',
editAll: 'すべてを編集',
editedSince: 'から編集',
editing: '編集',
editingLabel_many: '{{count}}つの{{label}}を編集しています',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const koTranslations: DefaultTranslationsObject = {
duplicate: '복제',
duplicateWithoutSaving: '변경 사항 저장 없이 복제',
edit: '수정',
editAll: '모두 수정',
editedSince: '편집됨',
editing: '수정 중',
editingLabel_many: '{{count}}개의 {{label}} 수정 중',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/my.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export const myTranslations: DefaultTranslationsObject = {
duplicate: 'ပုံတူပွားမည်။',
duplicateWithoutSaving: 'သေချာပါပြီ။',
edit: 'တည်းဖြတ်ပါ။',
editAll: 'အားလုံးကို တည်းဖြတ်ပါ။',
editedSince: 'ကစပြီးတည်းဖြတ်ခဲ့သည်',
editing: 'ပြင်ဆင်နေသည်။',
editingLabel_many: 'တည်းဖြတ်ခြင်း {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/nb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const nbTranslations: DefaultTranslationsObject = {
duplicate: 'Dupliser',
duplicateWithoutSaving: 'Dupliser uten å lagre endringer',
edit: 'Redigere',
editAll: 'Rediger alle',
editedSince: 'Redigert siden',
editing: 'Redigerer',
editingLabel_many: 'Redigerer {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export const nlTranslations: DefaultTranslationsObject = {
duplicate: 'Dupliceren',
duplicateWithoutSaving: 'Dupliceren zonder wijzigingen te bewaren',
edit: 'Bewerk',
editAll: 'Bewerk alles',
editedSince: 'Bewerkt sinds',
editing: 'Bewerken',
editingLabel_many: 'Bewerken {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const plTranslations: DefaultTranslationsObject = {
duplicate: 'Zduplikuj',
duplicateWithoutSaving: 'Zduplikuj bez zapisywania zmian',
edit: 'Edytuj',
editAll: 'Edytuj wszystko',
editedSince: 'Edytowano od',
editing: 'Edycja',
editingLabel_many: 'Edytowanie {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const ptTranslations: DefaultTranslationsObject = {
duplicate: 'Duplicar',
duplicateWithoutSaving: 'Duplicar sem salvar alterações',
edit: 'Editar',
editAll: 'Editar todos',
editedSince: 'Editado desde',
editing: 'Editando',
editingLabel_many: 'Editando {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export const roTranslations: DefaultTranslationsObject = {
duplicate: 'Duplicați',
duplicateWithoutSaving: 'Duplicați fără salvarea modificărilor',
edit: 'Editează',
editAll: 'Editează toate',
editedSince: 'Editat din',
editing: 'Editare',
editingLabel_many: 'Editare {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/rs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const rsTranslations: DefaultTranslationsObject = {
duplicate: 'Дупликат',
duplicateWithoutSaving: 'Понови без чувања промена',
edit: 'Уреди',
editAll: 'Уреди све',
editedSince: 'Измењено од',
editing: 'Уређивање',
editingLabel_many: 'Уређивање {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/rsLatin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const rsLatinTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikat',
duplicateWithoutSaving: 'Ponovi bez čuvanja promena',
edit: 'Uredi',
editAll: 'Uredi sve',
editedSince: 'Izmenjeno od',
editing: 'Uređivanje',
editingLabel_many: 'Uređivanje {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export const ruTranslations: DefaultTranslationsObject = {
duplicate: 'Дублировать',
duplicateWithoutSaving: 'Дублирование без сохранения изменений',
edit: 'Редактировать',
editAll: 'Редактировать все',
editedSince: 'Отредактировано с',
editing: 'Редактирование',
editingLabel_many: 'Редактирование {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export const skTranslations: DefaultTranslationsObject = {
duplicate: 'Duplikovať',
duplicateWithoutSaving: 'Duplikovať bez uloženia zmien',
edit: 'Upraviť',
editAll: 'Upraviť všetko',
editedSince: 'Upravené od',
editing: 'Úpravy',
editingLabel_many: 'Úprava {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const slTranslations: DefaultTranslationsObject = {
duplicate: 'Podvoji',
duplicateWithoutSaving: 'Podvoji brez shranjevanja sprememb',
edit: 'Uredi',
editAll: 'Uredi vse',
editedSince: 'Urejeno od',
editing: 'Urejanje',
editingLabel_many: 'Urejanje {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const svTranslations: DefaultTranslationsObject = {
duplicate: 'Duplicera',
duplicateWithoutSaving: 'Duplicera utan att spara ändringar',
edit: 'Redigera',
editAll: 'Redigera alla',
editedSince: 'Redigerad sedan',
editing: 'Redigerar',
editingLabel_many: 'Redigerar {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/th.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export const thTranslations: DefaultTranslationsObject = {
duplicate: 'สำเนา',
duplicateWithoutSaving: 'สำเนาโดยไม่บันทึกการแก้ไข',
edit: 'แก้ไข',
editAll: 'แก้ไขทั้งหมด',
editedSince: 'แก้ไขตั้งแต่',
editing: 'แก้ไข',
editingLabel_many: 'กำลังแก้ไข {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export const trTranslations: DefaultTranslationsObject = {
duplicate: 'Çoğalt',
duplicateWithoutSaving: 'Ayarları kaydetmeden çoğalt',
edit: 'Düzenle',
editAll: 'Hepsini düzenle',
editedSince: 'O tarihten itibaren düzenlendi',
editing: 'Düzenleniyor',
editingLabel_many: '{{count}} {{label}} düzenleniyor',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const ukTranslations: DefaultTranslationsObject = {
duplicate: 'Дублювати',
duplicateWithoutSaving: 'Дублювання без збереження змін',
edit: 'Редагувати',
editAll: 'Редагувати все',
editedSince: 'Відредаговано з',
editing: 'Редагування',
editingLabel_many: 'Редагування {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/vi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const viTranslations: DefaultTranslationsObject = {
duplicate: 'Tạo bản sao',
duplicateWithoutSaving: 'Không lưu dữ liệu và tạo bản sao',
edit: 'Chỉnh sửa',
editAll: 'Chỉnh sửa tất cả',
editedSince: 'Được chỉnh sửa từ',
editing: 'Đang chỉnh sửa',
editingLabel_many: 'Đang chỉnh sửa {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const zhTranslations: DefaultTranslationsObject = {
duplicate: '重复',
duplicateWithoutSaving: '重复而不保存更改。',
edit: '编辑',
editAll: '编辑全部',
editedSince: '自...以来编辑',
editing: '编辑中',
editingLabel_many: '编辑 {{count}} {{label}}',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/zhTw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const zhTwTranslations: DefaultTranslationsObject = {
duplicate: '複製',
duplicateWithoutSaving: '複製而不儲存變更。',
edit: '編輯',
editAll: '編輯全部',
editedSince: '自...以來編輯',
editing: '編輯中',
editingLabel_many: '編輯 {{count}} 個 {{label}}',
Expand Down
5 changes: 3 additions & 2 deletions packages/ui/src/elements/BulkUpload/AddingFilesView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,17 @@ export function AddingFilesView() {
const { user } = useAuth()
const { openModal } = useModal()

const collection = getEntityConfig({ collectionSlug })
const collectionConfig = getEntityConfig({ collectionSlug })

return (
<div className={baseClass}>
<FileSidebar />

<div className={`${baseClass}__editView`}>
<DrawerHeader
collectionConfig={collectionConfig}
onClose={() => openModal(discardBulkUploadModalSlug)}
title={getTranslation(collection.labels.singular, i18n)}
title={getTranslation(collectionConfig.labels.singular, i18n)}
/>
{activeForm ? (
<DocumentInfoProvider
Expand Down
2 changes: 0 additions & 2 deletions packages/ui/src/elements/BulkUpload/EditForm/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use client'

import type { ClientCollectionConfig } from 'payload'

import { useRouter, useSearchParams } from 'next/navigation.js'
import React, { useCallback, useEffect } from 'react'

Expand Down
Loading