chore: load super note twitter embed script from local copy instead of remote
This commit is contained in:
@@ -22,7 +22,7 @@ import { BlockWithAlignableContents } from '@lexical/react/LexicalBlockWithAlign
|
|||||||
import { DecoratorBlockNode, SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode'
|
import { DecoratorBlockNode, SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode'
|
||||||
import { useCallback, useEffect, useRef, useState } from 'react'
|
import { useCallback, useEffect, useRef, useState } from 'react'
|
||||||
|
|
||||||
const WIDGET_SCRIPT_URL = 'https://platform.twitter.com/widgets.js'
|
const WIDGET_SCRIPT_URL = '/dist/twitter-widgets.js'
|
||||||
|
|
||||||
type TweetComponentProps = Readonly<{
|
type TweetComponentProps = Readonly<{
|
||||||
className: Readonly<{
|
className: Readonly<{
|
||||||
|
|||||||
8
packages/web/src/vendor/twitter-widgets.js
vendored
Normal file
8
packages/web/src/vendor/twitter-widgets.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user