File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ interface PropsType {
3636
3737export const Twitter = ( props : PropsType ) => {
3838 const {
39- id,
4039 language,
4140 onHashTagPress,
4241 onLinkPress,
@@ -49,6 +48,7 @@ export const Twitter = (props: PropsType) => {
4948 onTweetPress,
5049 useCustomTweetExtendedData,
5150 } = props ;
51+ var id = props . id ;
5252 const appearance = darkMode ? "dark" : "light" ;
5353 const [ data , setData ] = React . useState < ITwitterPost | null > ( null ) ;
5454 React . useEffect ( ( ) => {
@@ -63,6 +63,9 @@ export const Twitter = (props: PropsType) => {
6363 if ( ! data ) {
6464 return null ;
6565 }
66+ if ( useCustomTweetExtendedData ) {
67+ id = useCustomTweetExtendedData . id_str ;
68+ }
6669 const styles = evaluateTheme ( appearance ) ;
6770
6871 return (
You can’t perform that action at this time.
0 commit comments