From cdb881efaf5fa805c59c435fa05951b2d5169f3b Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Wed, 14 Oct 2020 09:54:06 -0400 Subject: [PATCH] Fix naming --- resources/scripts/components/server/Console.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/scripts/components/server/Console.tsx b/resources/scripts/components/server/Console.tsx index 8d16e0e35..8cd3de853 100644 --- a/resources/scripts/components/server/Console.tsx +++ b/resources/scripts/components/server/Console.tsx @@ -60,7 +60,7 @@ export default () => { const terminal = useMemo(() => new Terminal({ ...terminalProps }), []); const fitAddon = new FitAddon(); const searchAddon = new SearchAddon(); - const searchAddonBar = new SearchBarAddon({ searchAddon }); + const searchBarAddon = new SearchBarAddon({ searchAddon }); const { connected, instance } = ServerContext.useStoreState(state => state.socket); const [ canSendCommands ] = usePermissions([ 'control.console' ]); @@ -90,7 +90,7 @@ export default () => { terminal.open(ref.current); terminal.loadAddon(fitAddon); terminal.loadAddon(searchAddon); - terminal.loadAddon(searchAddonBar); + terminal.loadAddon(searchBarAddon); fitAddon.fit(); // Add support for capturing keys