Skip to content

Commit

Permalink
Merge pull request #1244 from Ekep-Obasi/fix/image-url-not-displayed-…
Browse files Browse the repository at this point in the history
…in-selected-node-details-section

fix: image_url not showing in middle section
  • Loading branch information
Rassl authored Apr 15, 2024
2 parents d8aab83 + 592e916 commit 7085fa2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import React from 'react'
import * as fetchSourcesData from '~/network/fetchSourcesData'
import { SourceTypeStep } from '..'

// @ts-ignore
window.setImmediate = window.setTimeout

jest.mock('~/stores/useFeatureFlagStore', () => ({
useFeatureFlagStore: jest.fn(() => [true]),
}))
Expand Down
2 changes: 1 addition & 1 deletion src/components/App/SideBar/TwitData/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const TwitData = () => {
text,
name,
verified,
profile_picture: profilePicture,
image_url: profilePicture,
twitter_handle: twitterHandle,
ref_id: refId,
} = selectedNode || {}
Expand Down
3 changes: 3 additions & 0 deletions src/components/Booster/__tests__/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { Booster } from '../index'
import '@testing-library/jest-dom'
import * as boostUtil from '~/utils/boost'

// @ts-ignore
window.setImmediate = window.setTimeout

jest.mock('~/utils/boost', () => ({
boost: jest.fn(),
}))
Expand Down

0 comments on commit 7085fa2

Please sign in to comment.