diff --git a/src/components/CustomToast/CustomToast.js b/src/components/CustomToast/CustomToast.js index 79de71b90..e42ebb40b 100644 --- a/src/components/CustomToast/CustomToast.js +++ b/src/components/CustomToast/CustomToast.js @@ -1,18 +1,11 @@ import React from 'react' import PropTypes from 'prop-types' -import { GU, ToastHub, useViewport } from '@aragon/ui' +import { ToastHub } from '@aragon/ui' const TIMEOUT_TOAST = 4000 function CustomToast({ children }) { - const { below } = useViewport() - return ( - - {children} - - ) + return {children} } CustomToast.propTypes = { diff --git a/src/components/GlobalPreferences/GlobalPreferences.js b/src/components/GlobalPreferences/GlobalPreferences.js index e6937cf57..0402abc4a 100644 --- a/src/components/GlobalPreferences/GlobalPreferences.js +++ b/src/components/GlobalPreferences/GlobalPreferences.js @@ -26,7 +26,7 @@ import useSharedLink from './SharedIdentities/useSharedLink' const SECTIONS = new Map([ ['custom-labels', 'Custom Labels'], ['network', 'Network'], - ['notifications', 'Notifications'] + ['notifications', 'Notifications'], ]) const SECTION_PATHS = Array.from(SECTIONS.keys()) const SECTION_VALUES = Array.from(SECTIONS.values())