diff --git a/src/app/components/PreOrderBanner/index.tsx b/src/app/components/PreOrderBanner/index.tsx index 634d89d58..1808e60d1 100644 --- a/src/app/components/PreOrderBanner/index.tsx +++ b/src/app/components/PreOrderBanner/index.tsx @@ -3,21 +3,16 @@ * PreOrderBanner * */ -import React, { useEffect, useState } from 'react'; +import React from 'react'; import classNames from 'classnames'; import styles from './index.module.css'; export function PreOrderBanner() { - const [isWindow, setIsWindows] = useState(false); - useEffect(() => { - setIsWindows(navigator?.appVersion?.indexOf('Win') !== -1); - }, []); - return (