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