diff --git a/bids-validator-web/components/App.jsx b/bids-validator-web/components/App.jsx index e659de051..34ee002f2 100644 --- a/bids-validator-web/components/App.jsx +++ b/bids-validator-web/components/App.jsx @@ -1,7 +1,5 @@ import React from 'react' -import bowser from 'bowser' import Issues from '../components/Issues' -import BrowserWarning from './BrowserWarning' import Validate from '../components/Validate' import validate from '../../bids-validator' import validatorPackageJson from 'bids-validator/package.json' assert { type: 'json' } @@ -85,11 +83,6 @@ export default class App extends React.Component { } render() { - const browserUnsupported = - !bowser.chrome && - !bowser.chromium && - !bowser.firefox && - typeof window !== 'undefined' return (
-
- {browserUnsupported ? : null} -
- {!browserUnsupported ? ( - - ) : null} +
{this.state.status === 'validated' ? ( diff --git a/bids-validator-web/components/BrowserWarning.jsx b/bids-validator-web/components/BrowserWarning.jsx deleted file mode 100644 index 8624ffe1e..000000000 --- a/bids-validator-web/components/BrowserWarning.jsx +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react' - -// component setup ----------------------------------------------------------- - -class BrowserWarning extends React.Component { - render() { - return ( - - ) - } -} - -export default BrowserWarning diff --git a/bids-validator-web/package.json b/bids-validator-web/package.json index 2b87f8a10..7ab12afcf 100644 --- a/bids-validator-web/package.json +++ b/bids-validator-web/package.json @@ -7,7 +7,6 @@ "dependencies": { "@babel/runtime": "^7.22.10", "bootstrap": "^5.3.1", - "bowser": "^2.11.0", "eslint-config-next": "^13.4.19", "next": "^13.4.7", "pluralize": "^8.0.0", diff --git a/package-lock.json b/package-lock.json index 867fb2b93..ae7fad110 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,7 +85,6 @@ "dependencies": { "@babel/runtime": "^7.22.10", "bootstrap": "^5.3.1", - "bowser": "^2.11.0", "eslint-config-next": "^13.4.19", "next": "^13.4.7", "pluralize": "^8.0.0", @@ -23638,7 +23637,6 @@ "@babel/runtime": "^7.22.10", "@next/eslint-plugin-next": "^13.4.19", "bootstrap": "^5.3.1", - "bowser": "^2.11.0", "eslint-config-next": "^13.4.19", "next": "^13.4.7", "pluralize": "^8.0.0",