Skip to content

Commit

Permalink
Fix helium vsr type
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jun 25, 2024
1 parent 09013f3 commit 64faad3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const defaultState: HeliumVsrState = {

const HeliumVsrStateContext = createContext<HeliumVsrState>(defaultState);

export const useHeliumVsrState = () => {
export const useHeliumVsrState: () => HeliumVsrState = () => {
const context = useContext(HeliumVsrStateContext);
if (context === undefined) {
throw new Error(
Expand Down Expand Up @@ -176,7 +176,7 @@ export const HeliumVsrStateProvider: React.FC<{
provider,
refetch,
votingPower,
unixNow: now
unixNow: now,
}),
[
loadingPositions,
Expand Down

0 comments on commit 64faad3

Please sign in to comment.