From 072621cee0f858236163ce11d42eca5adb84d205 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Sat, 27 Aug 2022 13:02:22 +0200
Subject: refactor(frontend): add eslint-plugin-mobx

---
 subprojects/frontend/src/editor/SearchPanelPortal.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'subprojects/frontend/src/editor/SearchPanelPortal.tsx')

diff --git a/subprojects/frontend/src/editor/SearchPanelPortal.tsx b/subprojects/frontend/src/editor/SearchPanelPortal.tsx
index e8301489..b6b375e3 100644
--- a/subprojects/frontend/src/editor/SearchPanelPortal.tsx
+++ b/subprojects/frontend/src/editor/SearchPanelPortal.tsx
@@ -5,7 +5,7 @@ import React from 'react';
 import type EditorStore from './EditorStore';
 import SearchToolbar from './SearchToolbar';
 
-function SearchPanelPortal({
+export default observer(function SearchPanelPortal({
   editorStore: { searchPanel: searchPanelStore },
 }: {
   editorStore: EditorStore;
@@ -20,6 +20,4 @@ function SearchPanelPortal({
       <SearchToolbar searchPanelStore={searchPanelStore} />
     </Portal>
   );
-}
-
-export default observer(SearchPanelPortal);
+});
-- 
cgit v1.2.3-54-g00ecf

