File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/modules/new-request-form/fields/attachments Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ export function FileListItem({
2222 onRemove,
2323} : FileListItemProps ) : JSX . Element {
2424 const { t } = useTranslation ( ) ;
25- const closeButtonRef = useRef < HTMLButtonElement > ( null ) ;
26- const deleteButtonRef = useRef < HTMLButtonElement > ( null ) ;
2725
2826 const handleFileKeyDown = ( e : KeyboardEvent < HTMLDivElement > ) => {
2927 if ( e . code === "Delete" || e . code === "Backspace" || e . code === "Enter" ) {
@@ -81,7 +79,6 @@ export function FileListItem({
8179 < FileNameWrapper > { fileName } </ FileNameWrapper >
8280 < Tooltip content = { stopUploadLabel } >
8381 < File . Close
84- ref = { closeButtonRef }
8582 aria-label = { t (
8683 "new-request-form.attachments.stop-upload-aria-label" ,
8784 "Stop uploading {{fileName}}" ,
@@ -112,7 +109,6 @@ export function FileListItem({
112109 </ FileNameWrapper >
113110 < Tooltip content = { removeFileLabel } >
114111 < File . Delete
115- ref = { deleteButtonRef }
116112 aria-label = { t (
117113 "new-request-form.attachments.remove-file-aria-label" ,
118114 "Remove file: {{fileName}}" ,
You can’t perform that action at this time.
0 commit comments