Remove unncessary extension from URL and erroneous script tag

This commit is contained in:
Nischay 2024-05-12 22:14:27 +05:30
parent ca99c5f00d
commit d14271d036
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>Maunium sticker picker</title> <title>Maunium sticker picker</title>
<link rel="modulepreload" href="src/widget-api.js"></script> <link rel="modulepreload" href="src/widget-api.js">
<link rel="modulepreload" href="src/frequently-used.js"/> <link rel="modulepreload" href="src/frequently-used.js"/>
<link rel="modulepreload" href="src/spinner.js"/> <link rel="modulepreload" href="src/spinner.js"/>
<link rel="modulepreload" href="lib/htm/preact.js"/> <link rel="modulepreload" href="lib/htm/preact.js"/>

View File

@ -92,7 +92,7 @@ class GiphySearchTab extends Component {
}, },
}, },
"msgtype": "m.image", "msgtype": "m.image",
"url": gif_homeserver+jsonElement.id+".gif" "url": gif_homeserver+jsonElement.id
}; };
this.setState((prevState) => ({ this.setState((prevState) => ({
GIFById: {...prevState.GIFById, [id]: updatedItem}})); GIFById: {...prevState.GIFById, [id]: updatedItem}}));