1import { createContext, useContext } from 'react';
3export const LocalRouterContext = createContext(null);
4export const LocalRouterProvider = LocalRouterContext.Provider;
7export function useLocalRouter() {
8 return useContext(LocalRouterContext);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list