[skip ci] Revert "add react linting"

doesnt work properly :(

This reverts commit 18fdc33ee7.
This commit is contained in:
Vendicated 2023-10-31 23:56:13 +01:00
parent 18fdc33ee7
commit 584885acf5
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
37 changed files with 97 additions and 884 deletions

View file

@ -343,10 +343,10 @@ function AutomodEmbedAccessory(props: MessageEmbedProps): JSX.Element | null {
? parse(message.content)
: [noContent(message.attachments.length, message.embeds.length)]
}
{images.map((a, i) => {
{images.map(a => {
const { width, height } = computeWidthAndHeight(a.width, a.height);
return (
<div key={i}>
<div>
<img src={a.url} width={width} height={height} />
</div>
);