persist support option

This commit is contained in:
zeppi 2021-09-02 16:28:44 -04:00
parent 64cbd4ae8d
commit 1f90d8941f

View file

@ -150,7 +150,7 @@ function WalletSendTip(props: Props) {
const noBalance = balance === 0;
const tipAmount = useCustomTip ? customTipAmount : presetTipAmount;
const [activeTab, setActiveTab] = React.useState(TAB_BOOST);
const [activeTab, setActiveTab] = usePersistedState(TAB_BOOST);
function getClaimTypeText() {
if (claim.value_type === 'stream') {