Skip to content

Commit

Permalink
Update lastUpdate type
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Aug 28, 2023
1 parent 901c1ff commit 1c96206
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type DeckGLContainerProps = {
};

export type DeckGLContainerState = {
lastUpdate?: number | null;
lastUpdate: number | null;
viewState: Viewport;
tooltip: TooltipProps['tooltip'];
timer: ReturnType<typeof setInterval>;
Expand All @@ -63,6 +63,7 @@ export class DeckGLContainer extends React.Component<
timer: setInterval(this.tick, TICK),
tooltip: null,
viewState: props.viewport,
lastUpdate: null,
};
}

Expand Down

0 comments on commit 1c96206

Please sign in to comment.