We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f2330 commit bc006ebCopy full SHA for bc006eb
modules/widgets/src/fps-widget.tsx
@@ -72,6 +72,6 @@ export class FpsWidget extends Widget<FpsWidgetProps> {
72
73
_getFps(): number {
74
// @ts-expect-error protected
75
- return Math.round(this.deck.metrics.fps ?? 0);
+ return Math.round(this.deck?.metrics.fps ?? 0);
76
}
77
0 commit comments