From dd1db35513257abc6f36da5f8608afdde1bc4dd8 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 6 Dec 2023 20:46:23 -0500
Subject: final cleanup

---
 src/client/views/search/IconButton.tsx | 36 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 24 deletions(-)

(limited to 'src/client/views/search/IconButton.tsx')

diff --git a/src/client/views/search/IconButton.tsx b/src/client/views/search/IconButton.tsx
index 9aae347e7..e12e4511c 100644
--- a/src/client/views/search/IconButton.tsx
+++ b/src/client/views/search/IconButton.tsx
@@ -8,7 +8,6 @@ import '../global/globalCssVariables.scss';
 import { IconBar } from './IconBar';
 import './IconButton.scss';
 import './SearchBox.scss';
-import { Font } from '@react-pdf/renderer';
 
 interface iconButtonProps {
     type: string;
@@ -60,29 +59,18 @@ export class IconButton extends React.Component<iconButtonProps> {
     @action.bound
     getIcon() {
         switch (this.props.type) {
-            case DocumentType.NONE:
-                return 'ban';
-            case DocumentType.AUDIO:
-                return 'music';
-            case DocumentType.COL:
-                return 'object-group';
-            case DocumentType.IMG:
-                return 'image';
-            case DocumentType.LINK:
-                return 'link';
-            case DocumentType.PDF:
-                return 'file-pdf';
-            case DocumentType.RTF:
-                return 'sticky-note';
-            case DocumentType.VID:
-                return 'video';
-            case DocumentType.WEB:
-                return 'globe-asia';
-            case DocumentType.MAP:
-                return 'map-marker-alt';
-            default:
-                return 'caret-down';
-        }
+            case DocumentType.NONE:  return 'ban';
+            case DocumentType.AUDIO: return 'music';
+            case DocumentType.COL:   return 'object-group';
+            case DocumentType.IMG:   return 'image';
+            case DocumentType.LINK:  return 'link';
+            case DocumentType.PDF:   return 'file-pdf';
+            case DocumentType.RTF:   return 'sticky-note';
+            case DocumentType.VID:   return 'video';
+            case DocumentType.WEB:   return 'globe-asia';
+            case DocumentType.MAP:   return 'map-marker-alt';
+            default:                 return 'caret-down';
+        } // prettier-ignore
     }
 
     @action.bound
-- 
cgit v1.2.3-70-g09d2

