Skip to content

Commit

Permalink
fix:(app): set initial refresh state to idle to allow user inititaion (
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalmnt committed Dec 12, 2023
1 parent 77afd17 commit b793665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/context/stampClaimingContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const StampClaimingContextProvider = ({ children }: { children: any }) =>
const address = useWalletStore((state) => state.address);
const { did } = useDatastoreConnectionContext();
const toast = useToast();
const [status, setStatus] = useState(StampClaimProgressStatus.InProgress);
const [status, setStatus] = useState(StampClaimProgressStatus.Idle);

const handleSponsorship = async (platform: PlatformClass, result: string): Promise<void> => {
if (result === "success") {
Expand Down

0 comments on commit b793665

Please sign in to comment.