fix: build issues

This commit is contained in:
sriram veeraghanta 2024-03-06 20:01:14 +05:30
parent 466f69a0b9
commit 6a6ab5544a
4 changed files with 4 additions and 5 deletions

View File

@ -93,7 +93,7 @@ export const AddComment: React.FC<Props> = observer((props) => {
customClassName="p-2"
editorContentCustomClassNames="min-h-[35px]"
debouncedUpdatesEnabled={false}
onChange={(comment_json: Object, comment_html: string) => {
onChange={(comment_json: unknown, comment_html: string) => {
onChange(comment_html);
}}
submitButton={

View File

@ -115,7 +115,7 @@ export const CommentCard: React.FC<Props> = observer((props) => {
value={value}
debouncedUpdatesEnabled={false}
customClassName="min-h-[50px] p-3 shadow-sm"
onChange={(comment_json: Object, comment_html: string) => {
onChange={(comment_json: unknown, comment_html: string) => {
onChange(comment_html);
}}
/>

View File

@ -94,7 +94,7 @@ export const PeekOverviewIssueProperties: React.FC<Props> = ({ issueDetails, mod
>
{priority && (
<span className="-my-1 grid place-items-center">
<Icon iconName={priority?.icon!} />
<Icon iconName={priority?.icon} />
</span>
)}
<span>{priority?.title ?? "None"}</span>

View File

@ -11,9 +11,8 @@ import { FullScreenPeekView, SidePeekView } from "components/issues/peek-overvie
// lib
import { useMobxStore } from "lib/mobx/store-provider";
type Props = {};
export const IssuePeekOverview: React.FC<Props> = observer(() => {
export const IssuePeekOverview: React.FC = observer(() => {
// states
const [isSidePeekOpen, setIsSidePeekOpen] = useState(false);
const [isModalPeekOpen, setIsModalPeekOpen] = useState(false);