1import usePermissionsForPoint from './usePermissionsForPoint';
2import { useWallet } from 'store/wallet';
3import { usePointCursor } from 'store/pointCursor';
5export default function useCurrentPermissions() {
6 const { wallet } = useWallet();
7 const { pointCursor } = usePointCursor();
9 const _address = wallet.matchWith({
11 Just: p => p.value.address,
14 const _point = pointCursor.getOrElse(null);
16 return usePermissionsForPoint(_address, _point);
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