Skip to content

Commit d479815

Browse files
committed
Revert "PLU-311: [GSIB-1] proxy arcade url on gsib browser (#779)"
This reverts commit a65c94a.
1 parent e557e49 commit d479815

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
import { useProxyUrl } from '@/hooks/useGovtBrowser'
2-
31
interface DemoVideoModalContentProps {
42
src?: string
53
title?: string
64
}
75

86
export default function DemoVideoModalContent(
97
props: DemoVideoModalContentProps,
10-
) {
8+
): JSX.Element {
119
const { src, title } = props
12-
const { createProxiedUrl } = useProxyUrl()
13-
14-
if (!src) {
15-
return null
16-
}
17-
1810
return (
1911
<div
2012
style={{
@@ -25,7 +17,7 @@ export default function DemoVideoModalContent(
2517
}}
2618
>
2719
<iframe
28-
src={createProxiedUrl(src)}
20+
src={src}
2921
title={title}
3022
loading="lazy"
3123
allowFullScreen
@@ -38,7 +30,7 @@ export default function DemoVideoModalContent(
3830
height: '100%',
3931
colorScheme: 'light',
4032
}}
41-
/>
33+
></iframe>
4234
</div>
4335
)
4436
}

packages/frontend/src/hooks/useGovtBrowser.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)