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 d4882b0 commit 34defa7Copy full SHA for 34defa7
frontend/src/routes/_account.plan.index.tsx
@@ -60,7 +60,8 @@ function Plan(): React.ReactElement {
60
}, []);
61
62
const ref: Ref<HTMLIFrameElement> = useCallback(
63
- (iframe: HTMLIFrameElement) => {
+ (iframe: HTMLIFrameElement | null) => {
64
+ if (!iframe) return;
65
calculateHeight(iframe);
66
67
if (iframe.contentWindow) {
0 commit comments