1import { useCallback, useState } from 'react';
2import { Nothing } from 'folktale/maybe';
4export default function useActivateFlowState() {
5 const [derivedWallet, setDerivedWallet] = useState(Nothing());
6 const [inviteWallet, setInviteWallet] = useState(Nothing());
7 const [derivedPoint, setDerivedPoint] = useState(Nothing());
8 const [generated, setGenerated] = useState(false);
10 const reset = useCallback(() => {
11 setDerivedWallet(Nothing());
12 setInviteWallet(Nothing());
13 setDerivedPoint(Nothing());
15 }, [setDerivedWallet, setInviteWallet, setDerivedPoint, setGenerated]);
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