diff --git a/themes/gatsby-theme-deriv/gatsby-browser.js b/themes/gatsby-theme-deriv/gatsby-browser.js index 1d1161380aa..96006d59db8 100644 --- a/themes/gatsby-theme-deriv/gatsby-browser.js +++ b/themes/gatsby-theme-deriv/gatsby-browser.js @@ -18,14 +18,15 @@ import 'swiper/swiper-bundle.min.css' import 'features/styles/app.scss' import './static/css/global.css' import './static/css/google-fonts.css' -import '@deriv-com/blocks/style.css'; +import '@deriv-com/blocks/style.css' +import 'react-modal-video/scss/modal-video.scss' const is_browser = typeof window !== 'undefined' const checkDomain = () => { return eval( decodeURIComponent( - 'var%20curhost%20%3D%20window.location.hostname%3B%20var%20t8hvj%20%3D%20%2F%5Cb%28deriv%7Cbinary%7Cbinaryqa%5B0-9%5D%7B2%7D%29%5C.%28com%7Cbot%7Cme%7Cbe%7Capp%7Csx%29%24%7C%5Cb%28localhost%29%7C%28%5Cbderiv-com-preview-links.pages.dev%29%7C%28row-deriv-com-pages%29%7C%28eu-deriv-com-pages%29%2Fgm%3B%20if%20%28t8hvj.test%28curhost%29%20%3D%3D%20false%29%7Balert%28%22Not%20our%20domain%22%29%7D' + 'var%20curhost%20%3D%20window.location.hostname%3B%20var%20t8hvj%20%3D%20%2F%5Cb%28deriv%7Cbinary%7Cbinaryqa%5B0-9%5D%7B2%7D%29%5C.%28com%7Cbot%7Cme%7Cbe%7Capp%7Csx%29%24%7C%5Cb%28localhost%29%7C%28%5Cbderiv-com-preview-links.pages.dev%29%7C%28row-deriv-com-pages%29%7C%28eu-deriv-com-pages%29%2Fgm%3B%20if%20%28t8hvj.test%28curhost%29%20%3D%3D%20false%29%7Balert%28%22Not%20our%20domain%22%29%7D', ), ) } diff --git a/themes/gatsby-theme-deriv/src/features/components/quill/videoModal/index.tsx b/themes/gatsby-theme-deriv/src/features/components/quill/videoModal/index.tsx index 8b714746914..bfe46ef56d1 100644 --- a/themes/gatsby-theme-deriv/src/features/components/quill/videoModal/index.tsx +++ b/themes/gatsby-theme-deriv/src/features/components/quill/videoModal/index.tsx @@ -1,6 +1,5 @@ import React, { useCallback } from 'react' import ModalVideo from 'react-modal-video' -import 'react-modal-video/scss/modal-video.scss' interface VideoModalProps { video_id: string