Skip to content

Commit 6f2b307

Browse files
committed
empty state for no iframe
1 parent 6a1d40d commit 6f2b307

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Shared/Components/Header/IframePromoButton.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VisibleModal } from '@Common/index'
1+
import { GenericEmptyState, VisibleModal } from '@Common/index'
22
import { ComponentSizeType } from '@Shared/constants'
33
import { useState, useCallback } from 'react'
44
import { ReactComponent as Close } from '@Icons/ic-close.svg'
@@ -45,7 +45,12 @@ export const IframePromoButton = () => {
4545
referrerPolicy="no-referrer"
4646
/>
4747
) : (
48-
<div className="flex h-100">No data available.</div>
48+
<div className="flex h-100">
49+
<GenericEmptyState
50+
title="Nothing to show"
51+
subTitle="An iframe appears here in a parallel universe"
52+
/>
53+
</div>
4954
)}
5055
</div>
5156
</VisibleModal>

0 commit comments

Comments
 (0)