Fix naming
This commit is contained in:
parent
c53b14acef
commit
cdb881efaf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue