diff options
Diffstat (limited to 'sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx')
-rw-r--r-- | sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx b/sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx index 610376107..437784ce5 100644 --- a/sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx +++ b/sdnr/wt/odlux/framework/src/components/material-ui/snackDisplay.tsx @@ -21,7 +21,7 @@ import { IApplicationStoreState } from '../../store/applicationStore'; import { Connect, connect, IDispatcher } from '../../flux/connect'; import { RemoveSnackbarNotification } from '../../actions/snackbarActions'; -import { InjectedNotistackProps, withSnackbar } from 'notistack'; +import { WithSnackbarProps, withSnackbar } from 'notistack'; const mapProps = (state: IApplicationStoreState) => ({ notifications: state.framework.applicationState.snackBars @@ -33,7 +33,7 @@ const mapDispatch = (dispatcher: IDispatcher) => ({ } }); -type DisplaySnackbarsComponentProps = Connect<typeof mapProps, typeof mapDispatch> & InjectedNotistackProps; +type DisplaySnackbarsComponentProps = Connect<typeof mapProps, typeof mapDispatch> & WithSnackbarProps; class DisplaySnackbarsComponent extends React.Component<DisplaySnackbarsComponentProps> { private displayed: number[] = []; |