Skip to content

Commit

Permalink
Add TODO(#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
000alen committed Dec 14, 2021
1 parent ffd756f commit 6291b7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Page/Page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Layout } from "../../Layout/Layout";
import React from "react";
import { v4 as uuidv4 } from "uuid";

import { PagePane } from "./PagePane";
import { Layout } from "../../Layout/Layout";
import { IContent, ILayout, IPage } from "../../Notebook/types";
import { emptyQuill, NotebookManager } from "../../Notebook/UseNotebook";
import { v4 as uuidv4 } from "uuid";
import { PagePane } from "./PagePane";

export interface PageProps {
id: string;
Expand Down Expand Up @@ -74,7 +74,6 @@ export class Page extends React.Component<PageProps, PageState> {
});
}

// ! TODO: Cannot get rid of @ts-ignore
render() {
const { id, page, _notebookManager } = this.props;

Expand All @@ -84,6 +83,7 @@ export class Page extends React.Component<PageProps, PageState> {
<Layout
defaultLayout={page.layout}
onLayoutChange={this.onLayoutChange}
// TODO(#44): Cannot get rid of @ts-ignore
// @ts-ignore
PaneComponent={PagePane}
props={{
Expand Down

0 comments on commit 6291b7a

Please sign in to comment.