Skip to content

Commit 215f424

Browse files
checkpoint
1 parent 288b0fe commit 215f424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript/src/renderer/JsonDocRenderer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export const JsonDocRenderer = ({
4949
useEffect(() => {
5050
try {
5151
//TODO: this is not throwing for invalid page object (one that doesn't follow schema)
52-
const serialized = loadPage(page);
53-
} catch (error) {
52+
loadPage(page);
53+
} catch (_) {
5454
// console.log("error ", error);
5555
}
5656
}, []);

0 commit comments

Comments
 (0)