mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
fix: build errors
This commit is contained in:
parent
81bf325990
commit
2056232759
4 changed files with 2 additions and 6 deletions
|
@ -30,14 +30,11 @@ export default observer(() => {
|
|||
|
||||
return (
|
||||
<ServerList
|
||||
// @ts-expect-error FIXME
|
||||
client={client}
|
||||
active={server_id}
|
||||
createServer={createServer}
|
||||
// @ts-expect-error FIXME
|
||||
permit={state.notifications}
|
||||
home={state.layout.getLastHomePath}
|
||||
// @ts-expect-error FIXME
|
||||
servers={state.ordering.orderedServers}
|
||||
reorder={state.ordering.reorderServer}
|
||||
/>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue