From 3e2d3a194a4dfc88f69195f60218a146c2dd7c94 Mon Sep 17 00:00:00 2001 From: MrXyfir Date: Fri, 8 Mar 2019 17:38:16 -0800 Subject: [PATCH] Update notistack --- web/components/panel/PurchaseCredits.tsx | 4 ++-- web/components/panel/domains/Add.tsx | 4 ++-- web/components/panel/domains/Manage.tsx | 4 ++-- web/components/panel/filters/Add.tsx | 4 ++-- web/components/panel/filters/Manage.tsx | 4 ++-- web/components/panel/messages/Manage.tsx | 4 ++-- web/components/panel/messages/Send.tsx | 4 ++-- web/components/panel/modifiers/Add.tsx | 4 ++-- web/components/panel/modifiers/Manage.tsx | 4 ++-- web/components/panel/primary-emails/Add.tsx | 4 ++-- web/components/panel/primary-emails/Manage.tsx | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/web/components/panel/PurchaseCredits.tsx b/web/components/panel/PurchaseCredits.tsx index c59622c9..e2cde2ab 100644 --- a/web/components/panel/PurchaseCredits.tsx +++ b/web/components/panel/PurchaseCredits.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { PanelContext } from 'lib/PanelContext'; import * as React from 'react'; @@ -31,7 +31,7 @@ const styles = createStyles({ }); class _PurchaseCredits extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles + RouteComponentProps & withSnackbarProps & WithStyles > { static contextType = PanelContext; context!: React.ContextType; diff --git a/web/components/panel/domains/Add.tsx b/web/components/panel/domains/Add.tsx index a71ccd48..3a302410 100644 --- a/web/components/panel/domains/Add.tsx +++ b/web/components/panel/domains/Add.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { Typography, TextField, Button } from '@material-ui/core'; import { RouteComponentProps } from 'react-router'; import { PanelContext } from 'lib/PanelContext'; @@ -12,7 +12,7 @@ interface AddDomainState { } class _AddDomain extends React.Component< - RouteComponentProps & InjectedNotistackProps, + RouteComponentProps & withSnackbarProps, AddDomainState > { static contextType = PanelContext; diff --git a/web/components/panel/domains/Manage.tsx b/web/components/panel/domains/Manage.tsx index f6fa966a..cb4496d4 100644 --- a/web/components/panel/domains/Manage.tsx +++ b/web/components/panel/domains/Manage.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { PanelContext } from 'lib/PanelContext'; import * as moment from 'moment'; @@ -74,7 +74,7 @@ interface ManageDomainState { } class _ManageDomain extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles, + RouteComponentProps & withSnackbarProps & WithStyles, ManageDomainState > { static contextType = PanelContext; diff --git a/web/components/panel/filters/Add.tsx b/web/components/panel/filters/Add.tsx index e80df0f0..92c42bac 100644 --- a/web/components/panel/filters/Add.tsx +++ b/web/components/panel/filters/Add.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { TextField, Button } from '@material-ui/core'; import { PanelContext } from 'lib/PanelContext'; @@ -11,7 +11,7 @@ interface AddFilterState { } class _AddFilter extends React.Component< - RouteComponentProps & InjectedNotistackProps, + RouteComponentProps & withSnackbarProps, AddFilterState > { static contextType = PanelContext; diff --git a/web/components/panel/filters/Manage.tsx b/web/components/panel/filters/Manage.tsx index 71d8a945..3d8526d8 100644 --- a/web/components/panel/filters/Manage.tsx +++ b/web/components/panel/filters/Manage.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { ChipSelector } from 'components/panel/utils/ChipSelector'; import { PanelContext } from 'lib/PanelContext'; @@ -40,7 +40,7 @@ interface ManageFilterState { } class _ManageFilter extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles, + RouteComponentProps & withSnackbarProps & WithStyles, ManageFilterState > { static contextType = PanelContext; diff --git a/web/components/panel/messages/Manage.tsx b/web/components/panel/messages/Manage.tsx index ca0c7a5b..53549ec5 100644 --- a/web/components/panel/messages/Manage.tsx +++ b/web/components/panel/messages/Manage.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { displayAddress } from 'lib/display-address'; import { PanelContext } from 'lib/PanelContext'; @@ -56,7 +56,7 @@ interface ManageMessageState { } class _ManageMessage extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles, + RouteComponentProps & withSnackbarProps & WithStyles, ManageMessageState > { static contextType = PanelContext; diff --git a/web/components/panel/messages/Send.tsx b/web/components/panel/messages/Send.tsx index 979b0c34..67966d39 100644 --- a/web/components/panel/messages/Send.tsx +++ b/web/components/panel/messages/Send.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { PanelContext } from 'lib/PanelContext'; import { TrixEditor } from 'react-trix'; import * as React from 'react'; @@ -29,7 +29,7 @@ interface SendMessageState { } class _SendMessage extends React.Component< - InjectedNotistackProps & WithStyles, + withSnackbarProps & WithStyles, SendMessageState > { static contextType = PanelContext; diff --git a/web/components/panel/modifiers/Add.tsx b/web/components/panel/modifiers/Add.tsx index c42ddcdf..cd1507ca 100644 --- a/web/components/panel/modifiers/Add.tsx +++ b/web/components/panel/modifiers/Add.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { TextField, Button } from '@material-ui/core'; import { PanelContext } from 'lib/PanelContext'; @@ -11,7 +11,7 @@ interface AddModifierState { } class _AddModifier extends React.Component< - RouteComponentProps & InjectedNotistackProps, + RouteComponentProps & withSnackbarProps, AddModifierState > { static contextType = PanelContext; diff --git a/web/components/panel/modifiers/Manage.tsx b/web/components/panel/modifiers/Manage.tsx index 95ec37e5..72ea5524 100644 --- a/web/components/panel/modifiers/Manage.tsx +++ b/web/components/panel/modifiers/Manage.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { ChipSelector } from 'components/panel/utils/ChipSelector'; import { PanelContext } from 'lib/PanelContext'; @@ -39,7 +39,7 @@ interface ManageModifierState { } class _ManageModifier extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles, + RouteComponentProps & withSnackbarProps & WithStyles, ManageModifierState > { static contextType = PanelContext; diff --git a/web/components/panel/primary-emails/Add.tsx b/web/components/panel/primary-emails/Add.tsx index 9a8304bf..0a334cb0 100644 --- a/web/components/panel/primary-emails/Add.tsx +++ b/web/components/panel/primary-emails/Add.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { TextField, Button } from '@material-ui/core'; import { PanelContext } from 'lib/PanelContext'; @@ -11,7 +11,7 @@ interface AddPrimaryEmailState { } class _AddPrimaryEmail extends React.Component< - RouteComponentProps & InjectedNotistackProps, + RouteComponentProps & withSnackbarProps, AddPrimaryEmailState > { static contextType = PanelContext; diff --git a/web/components/panel/primary-emails/Manage.tsx b/web/components/panel/primary-emails/Manage.tsx index e330c342..cca6db5a 100644 --- a/web/components/panel/primary-emails/Manage.tsx +++ b/web/components/panel/primary-emails/Manage.tsx @@ -1,4 +1,4 @@ -import { withSnackbar, InjectedNotistackProps } from 'notistack'; +import { withSnackbar, withSnackbarProps } from 'notistack'; import { RouteComponentProps } from 'react-router'; import { PanelContext } from 'lib/PanelContext'; import * as moment from 'moment'; @@ -28,7 +28,7 @@ interface ManagePrimaryEmailState { } class _ManagePrimaryEmail extends React.Component< - RouteComponentProps & InjectedNotistackProps & WithStyles, + RouteComponentProps & withSnackbarProps & WithStyles, ManagePrimaryEmailState > { static contextType = PanelContext;