mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Fix issues introduced in new Typescript version.
This commit is contained in:
@@ -316,7 +316,8 @@ export default observer(({ channel }: Props) => {
|
||||
);
|
||||
}
|
||||
} catch (err) {
|
||||
if (err?.message === "cancel") {
|
||||
// eslint-disable-next-line
|
||||
if ((err as any)?.message === "cancel") {
|
||||
setUploadState({
|
||||
type: "attached",
|
||||
files,
|
||||
|
||||
Reference in New Issue
Block a user