1import { useWallet } from 'store/wallet';
2import { usePointCache } from 'store/pointCache';
4import { eqAddr } from 'lib/utils/address';
5import useLifecycle from './useLifecycle';
7export default function useIsEclipticOwner() {
8 const { wallet } = useWallet();
9 const { eclipticOwner, syncEclipticOwner } = usePointCache();
15 return wallet.matchWith({
22 return eqAddr(p.value.address, eclipticOwner);
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