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

Commit

Permalink
Update notistack
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed Mar 9, 2019
1 parent 11df44e commit 3e2d3a1
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions web/components/panel/PurchaseCredits.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -31,7 +31,7 @@ const styles = createStyles({
});

class _PurchaseCredits extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>
> {
static contextType = PanelContext;
context!: React.ContextType<typeof PanelContext>;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/domains/Add.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -12,7 +12,7 @@ interface AddDomainState {
}

class _AddDomain extends React.Component<
RouteComponentProps & InjectedNotistackProps,
RouteComponentProps & withSnackbarProps,
AddDomainState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/domains/Manage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -74,7 +74,7 @@ interface ManageDomainState {
}

class _ManageDomain extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>,
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>,
ManageDomainState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/filters/Add.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,7 +11,7 @@ interface AddFilterState {
}

class _AddFilter extends React.Component<
RouteComponentProps & InjectedNotistackProps,
RouteComponentProps & withSnackbarProps,
AddFilterState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/filters/Manage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -40,7 +40,7 @@ interface ManageFilterState {
}

class _ManageFilter extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>,
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>,
ManageFilterState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/messages/Manage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -56,7 +56,7 @@ interface ManageMessageState {
}

class _ManageMessage extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>,
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>,
ManageMessageState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/messages/Send.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -29,7 +29,7 @@ interface SendMessageState {
}

class _SendMessage extends React.Component<
InjectedNotistackProps & WithStyles<typeof styles>,
withSnackbarProps & WithStyles<typeof styles>,
SendMessageState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/modifiers/Add.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,7 +11,7 @@ interface AddModifierState {
}

class _AddModifier extends React.Component<
RouteComponentProps & InjectedNotistackProps,
RouteComponentProps & withSnackbarProps,
AddModifierState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/modifiers/Manage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -39,7 +39,7 @@ interface ManageModifierState {
}

class _ManageModifier extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>,
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>,
ManageModifierState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/primary-emails/Add.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,7 +11,7 @@ interface AddPrimaryEmailState {
}

class _AddPrimaryEmail extends React.Component<
RouteComponentProps & InjectedNotistackProps,
RouteComponentProps & withSnackbarProps,
AddPrimaryEmailState
> {
static contextType = PanelContext;
Expand Down
4 changes: 2 additions & 2 deletions web/components/panel/primary-emails/Manage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -28,7 +28,7 @@ interface ManagePrimaryEmailState {
}

class _ManagePrimaryEmail extends React.Component<
RouteComponentProps & InjectedNotistackProps & WithStyles<typeof styles>,
RouteComponentProps & withSnackbarProps & WithStyles<typeof styles>,
ManagePrimaryEmailState
> {
static contextType = PanelContext;
Expand Down

0 comments on commit 3e2d3a1

Please sign in to comment.