mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
fix(build): type errors with revolt-api
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Embed as EmbedI } from "revolt-api/types/January";
|
||||
import { Embed as EmbedI } from "revolt-api/types/Channels";
|
||||
|
||||
import styles from "./Embed.module.scss";
|
||||
import classNames from "classnames";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable react-hooks/rules-of-hooks */
|
||||
import { Embed } from "revolt-api/types/January";
|
||||
import { JanuaryEmbed } from "revolt-api/types/January";
|
||||
|
||||
import styles from "./Embed.module.scss";
|
||||
|
||||
@@ -7,7 +7,7 @@ import { useIntermediate } from "../../../../context/intermediate/Intermediate";
|
||||
import { useClient } from "../../../../context/revoltjs/RevoltClient";
|
||||
|
||||
interface Props {
|
||||
embed: Embed;
|
||||
embed: JanuaryEmbed;
|
||||
width?: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user