(action: string)
| 15 | const [history, setHistory] = createSignal<Array<string>>([]) |
| 16 | const [helloSequenceEnabled, setHelloSequenceEnabled] = createSignal(true) |
| 17 | const addToHistory = (action: string) => { |
| 18 | setLastSequence(action) |
| 19 | setHistory((h) => [...h.slice(-9), action]) |
| 20 | } |
| 21 | |
| 22 | createHotkeySequence(['G', 'G'], () => addToHistory('gg → Go to top')) |
| 23 | createHotkeySequence(['Shift+G'], () => addToHistory('G → Go to bottom')) |
no outgoing calls
no test coverage detected
searching dependent graphs…