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 b693f6e commit 9c897d2Copy full SHA for 9c897d2
src/client/components/QiitaMarkdownHtmlBody.tsx
@@ -9,7 +9,7 @@ export const QiitaMarkdownHtmlBody = ({
9
bodyRef,
10
}: {
11
renderedBody: string;
12
- bodyRef: RefObject<HTMLDivElement>;
+ bodyRef: RefObject<HTMLDivElement | null>;
13
}) => {
14
const [isRendered, setIsRendered] = useState(false);
15
src/client/components/Slide/SlideViewerContent.tsx
@@ -13,7 +13,7 @@ export const SlideViewerContent = ({
currentPageIndex: number;
onPrevious: () => void;
onNext: () => void;
16
- contentRef: RefObject<HTMLDivElement>;
+ contentRef: RefObject<HTMLDivElement | null>;
17
18
const handleClickScreen = useCallback<
19
(event: ReactMouseEvent<HTMLDivElement, MouseEvent>) => void
0 commit comments