From 0be3e363136ba4aaae7708864291b5fe201df12f Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Tue, 3 Nov 2020 11:15:16 -0800 Subject: [PATCH] Fix build break --- webapp/src/components/cardDetail.tsx | 2 +- webapp/src/widgets/propertyMenu.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/cardDetail.tsx b/webapp/src/components/cardDetail.tsx index 1f15c597a..ca319efd9 100644 --- a/webapp/src/components/cardDetail.tsx +++ b/webapp/src/components/cardDetail.tsx @@ -14,6 +14,7 @@ import {Utils} from '../utils' import MenuWrapper from '../widgets/menuWrapper' import Menu from '../widgets/menu' +import PropertyMenu from '../widgets/propertyMenu' import Editable from '../widgets/editable' import Button from '../widgets/buttons/button' import EmojiIcon from '../widgets/icons/emoji' @@ -21,7 +22,6 @@ import EmojiIcon from '../widgets/icons/emoji' import {MarkdownEditor} from './markdownEditor' import ContentBlock from './contentBlock' import CommentsList from './commentsList' -import PropertyMenu from './propertyMenu' import BlockIconSelector from './blockIconSelector' import PropertyValueElement from './propertyValueElement' diff --git a/webapp/src/widgets/propertyMenu.tsx b/webapp/src/widgets/propertyMenu.tsx index fb54a299e..f405dfedd 100644 --- a/webapp/src/widgets/propertyMenu.tsx +++ b/webapp/src/widgets/propertyMenu.tsx @@ -14,7 +14,7 @@ type Props = { propertyName: string propertyType: PropertyType onNameChanged: (newName: string) => void - onTypeChanged: (newType: string) => void + onTypeChanged: (newType: PropertyType) => void onDelete: (id: string) => void }