Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix edge case in browser detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Dec 14, 2021
1 parent 5b0966a commit e76c224
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { BodyClass } from '@plone/volto/helpers';
const OutdatedBrowser = () => {
const browserdetect = useSelector((state) => state.browserdetect);
return (
browserdetect &&
config.settings.notSupportedBrowsers.includes(browserdetect.name) && (
<Container style={{ marginBottom: '20px' }}>
<BodyClass className="overflow-hidden" />
Expand Down

0 comments on commit e76c224

Please sign in to comment.