Skip to content

Commit

Permalink
refactor: remove superfluous polyfill
Browse files Browse the repository at this point in the history
As IE is not supported, it's redundant to include a polyfill for it.

Refs #397
  • Loading branch information
thewilkybarkid committed Sep 17, 2021
1 parent ea65c71 commit b0f0e4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
"styled-components": "^5.2.1",
"typescript-chained-error": "^1.6.0",
"url": "^0.11.0",
"url-search-params-polyfill": "^8.1.0",
"uuid": "^8.3.2",
"uuid-apikey": "^1.5.1",
"validator": "^13.5.2",
Expand Down
4 changes: 0 additions & 4 deletions src/frontend/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import React, { useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { HelmetProvider } from 'react-helmet-async';
import { Switch, Route } from 'react-router-dom';
import 'url-search-params-polyfill'; /* pollyfill for IE / Edge */
import { IntlProvider } from 'react-intl';

// contexts
Expand Down Expand Up @@ -33,9 +32,6 @@ import * as Fathom from 'fathom-client';

//const Moderate = React.lazy(() => import('./moderate'));

// kick off the polyfill!
//smoothscroll.polyfill();

export default function App({ user }) {
const [loading, setLoading] = useState(true);
const [subdomain, setSubdomain] = useState(null);
Expand Down

0 comments on commit b0f0e4a

Please sign in to comment.