From 6c5f28196b645c1c3a12f0e0ddce24ce68fb0a0b Mon Sep 17 00:00:00 2001 From: Paul Mineev Date: Sat, 28 Oct 2023 02:09:24 -0400 Subject: [PATCH] fix types on error message extraction --- .../apps/remark42/app/components/comment-form/comment-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/remark42/app/components/comment-form/comment-form.tsx b/frontend/apps/remark42/app/components/comment-form/comment-form.tsx index 333d686087..b30efd87d3 100644 --- a/frontend/apps/remark42/app/components/comment-form/comment-form.tsx +++ b/frontend/apps/remark42/app/components/comment-form/comment-form.tsx @@ -2,7 +2,7 @@ import { h, Component, createRef, Fragment } from 'preact'; import { FormattedMessage, IntlShape, defineMessages } from 'react-intl'; import b, { Mix } from 'bem-react-helper'; -import { User, Theme, Image, ApiError } from 'common/types'; +import { User, Theme, Image } from 'common/types'; import { StaticStore } from 'common/static-store'; import * as settings from 'common/settings'; import { extractErrorMessageFromResponse } from 'utils/errorUtils';