diff --git a/app/assets/js/components/Work/Tabs/Preservation/FileSetModal.jsx b/app/assets/js/components/Work/Tabs/Preservation/FileSetModal.jsx index 7e75d6e83..7c2f138bd 100644 --- a/app/assets/js/components/Work/Tabs/Preservation/FileSetModal.jsx +++ b/app/assets/js/components/Work/Tabs/Preservation/FileSetModal.jsx @@ -23,19 +23,6 @@ const modalCss = css` z-index: 100; `; -const sectionHeaderCss = css` - font-size: 1.2rem; - font-weight: bold; - margin-bottom: 1rem; -`; - -const sectionCss = css` - margin-bottom: 2rem; - padding: 1rem; - border: 1px solid #ddd; - border-radius: 4px; -`; - function WorkTabsPreservationFileSetModal({ closeModal, isVisible, @@ -252,8 +239,8 @@ function WorkTabsPreservationFileSetModal({ {watchRole && ( <> -
-

Option 1: Drag and Drop File

+
+

Option 1: Drag and Drop File

-
-

Option 2: Choose from S3 Ingest Bucket

+
+

Option 2: Choose from S3 Ingest Bucket

} -
-

Option 1: Drag and Drop File

+
+

Option 1: Drag and Drop File

-
-

Option 2: Choose from S3 Ingest Bucket

+
+

Option 2: Choose from S3 Ingest Bucket

{ + const handlePrefixChange = async (e) => { const inputValue = e.target.value; const newPrefix = inputValue.startsWith(defaultPrefix) ? inputValue : defaultPrefix + inputValue; setPrefix(newPrefix); - refetch({ prefix: newPrefix }); + await refetch({ prefix: newPrefix }); }; const handleRefresh = async () => {