mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 16:53:36 -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 (
|
return (
|
||||||
<ServerList
|
<ServerList
|
||||||
// @ts-expect-error FIXME
|
|
||||||
client={client}
|
client={client}
|
||||||
active={server_id}
|
active={server_id}
|
||||||
createServer={createServer}
|
createServer={createServer}
|
||||||
// @ts-expect-error FIXME
|
|
||||||
permit={state.notifications}
|
permit={state.notifications}
|
||||||
home={state.layout.getLastHomePath}
|
home={state.layout.getLastHomePath}
|
||||||
// @ts-expect-error FIXME
|
|
||||||
servers={state.ordering.orderedServers}
|
servers={state.ordering.orderedServers}
|
||||||
reorder={state.ordering.reorderServer}
|
reorder={state.ordering.reorderServer}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { API, Channel, Message, Server, User } from "revolt.js";
|
||||||
import { createContext } from "preact";
|
import { createContext } from "preact";
|
||||||
import { useContext, useEffect, useMemo, useState } from "preact/hooks";
|
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 { internalSubscribe } from "../../lib/eventEmitter";
|
||||||
import { determineLink } from "../../lib/links";
|
import { determineLink } from "../../lib/links";
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { Text } from "preact-i18n";
|
||||||
import { useContext, useEffect, useState } from "preact/hooks";
|
import { useContext, useEffect, useState } from "preact/hooks";
|
||||||
|
|
||||||
import { Category, Modal, InputBox, Radio } from "@revoltchat/ui";
|
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";
|
import { TextReact } from "../../../lib/i18n";
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,6 @@ export function ModifyAccountModal({ onClose, field }: Props) {
|
||||||
disabled={processing}
|
disabled={processing}
|
||||||
actions={[
|
actions={[
|
||||||
{
|
{
|
||||||
disabled: processing,
|
|
||||||
confirmation: true,
|
confirmation: true,
|
||||||
onClick: handleSubmit(onSubmit),
|
onClick: handleSubmit(onSubmit),
|
||||||
children:
|
children:
|
||||||
|
|
Loading…
Reference in a new issue