From 81f7e50835f2dd82f8517d97881d5bbd7f8adb2b Mon Sep 17 00:00:00 2001 From: tundeaji1232 Date: Thu, 15 Feb 2018 17:42:31 +0000 Subject: [PATCH] alt tags added relates #38 --- client/src/helper/fileImages.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/helper/fileImages.js b/client/src/helper/fileImages.js index 7ee6690..730e187 100644 --- a/client/src/helper/fileImages.js +++ b/client/src/helper/fileImages.js @@ -11,27 +11,27 @@ export default (file)=> { switch (file.filetype) { case "video/mp4": { - return (); + return ({`${file.filetype}`}); } case "application/pdf": { - return (); + return ({`${file.filetype}`}); } case "video/webm": { - return ( ); + return ( {`${file.filetype}`}); } case "application/zip": { - return ( ); + return ( {`${file.filetype}`}); } case "image/jpeg": { - return ( ); + return ( {`${file.filetype}`}); } case null: { - return ( ); + return ( {`${file.filetype}`}); } case "": { - return ( ); + return ( {`${file.filetype}`}); } default: { return
No asset
;