mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix: build errors
This commit is contained in:
@@ -5,7 +5,7 @@ import { API, Channel, Message, Server, User } from "revolt.js";
|
||||
import { createContext } from "preact";
|
||||
import { useContext, useEffect, useMemo, useState } from "preact/hooks";
|
||||
|
||||
import type { Action } from "@revoltchat/ui/esm/components/design/atoms/layout/Modal";
|
||||
import type { Action } from "@revoltchat/ui/esm/components/design/atoms/display/Modal";
|
||||
|
||||
import { internalSubscribe } from "../../lib/eventEmitter";
|
||||
import { determineLink } from "../../lib/links";
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Text } from "preact-i18n";
|
||||
import { useContext, useEffect, useState } from "preact/hooks";
|
||||
|
||||
import { Category, Modal, InputBox, Radio } from "@revoltchat/ui";
|
||||
import type { Action } from "@revoltchat/ui/esm/components/design/atoms/layout/Modal";
|
||||
import type { Action } from "@revoltchat/ui/esm/components/design/atoms/display/Modal";
|
||||
|
||||
import { TextReact } from "../../../lib/i18n";
|
||||
|
||||
|
||||
@@ -73,7 +73,6 @@ export function ModifyAccountModal({ onClose, field }: Props) {
|
||||
disabled={processing}
|
||||
actions={[
|
||||
{
|
||||
disabled: processing,
|
||||
confirmation: true,
|
||||
onClick: handleSubmit(onSubmit),
|
||||
children:
|
||||
|
||||
Reference in New Issue
Block a user