Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/citizen-claim-widget/src/CitizenClaimWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ function Countdown({ nextClaim }: { nextClaim: Date }) {
useEffect(() => {
const id = setInterval(() => setTimeLeft(getTimeLeft()), 1000)
return () => clearInterval(id)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [nextClaim])

const h = Math.floor(timeLeft / 3600)
Expand Down
1 change: 0 additions & 1 deletion packages/citizen-claim-widget/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ export function useCitizenClaimAdapter(
// Auto-refresh claim status whenever wallet connection or chain changes
useEffect(() => {
void loadClaimStatus()
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isConnected, address, chainId])

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface WalletContextValue extends WalletState {
connect: () => Promise<void>
}

export interface HostContextValue extends HostState {}
export type HostContextValue = HostState

export interface GoodWidgetContextValue extends GoodWidgetState {
connect: () => Promise<void>
Expand Down
Loading