1import { useCallback } from 'react';
3import useLocalStorageState from './useLocalStorageState';
5const REJECTED_POINTS_KEY = 'bridge:rejected-points';
7export default function useRejectedIncomingPointTransfers() {
8 const [rejectedPoints, setRejectedPoints] = useLocalStorageState(
13 const addRejectedPoint = useCallback(
14 point => setRejectedPoints([...rejectedPoints, point]),
15 [rejectedPoints, setRejectedPoints]
18 return [rejectedPoints, addRejectedPoint];
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