aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/utils/embed.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-28 15:52:57 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit58f504e34fe5c37056c4e74ed8204bd0d10cb994 (patch)
tree59c9daf1be270793c294c78a079d3bc73b4d45e7 /vnext/src/utils/embed.js
parentd1ae7c0766c1e3319b4a75164123ffd364fd2389 (diff)
Merge Jest configuration from Next version
Diffstat (limited to 'vnext/src/utils/embed.js')
-rw-r--r--vnext/src/utils/embed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js
index e1fc28dd..22dacd8b 100644
--- a/vnext/src/utils/embed.js
+++ b/vnext/src/utils/embed.js
@@ -276,7 +276,7 @@ function getEmbeddableLinkTypes() {
className: 'tg compact',
re: /https?:\/\/t\.me\/(\S+)/i,
makeNode: function(aNode, reResult, div) {
- let [url, post] = reResult;
+ let [post] = reResult;
// innerHTML cannot insert scripts, so...
let script = document.createElement('script');
script.src = 'https://telegram.org/js/telegram-widget.js?18';