From 76ef017244e397dfc96d5bbe6a57dfdb51d9abc8 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Wed, 7 Feb 2024 08:43:07 +0100 Subject: [PATCH] Refactor media Change-Id: Ic24c53048c35b76532af24d9c5c9bf831688344b --- src/components/media.js | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/components/media.js b/src/components/media.js index 1a4362c..fec66a6 100644 --- a/src/components/media.js +++ b/src/components/media.js @@ -38,19 +38,17 @@ const DeleteMediaDialog = ({ open, loading, onClose, onSubmit }) => { return d.getTime(); }; - const DeleteMediaToolbar = props => { - return ( - - } - /> - - - ); - }; + const DeleteMediaToolbar = props => ( + + } + /> + + + ); return (