Remove unnecessary notistacks and dead terminal enable/disable code

- Remove 'Artikel angelegt.' snackbar from NewArticleTile
- Remove 'Kategorie angelegt.' snackbar from NewCategoryTile
- Remove dead handleEnableAllCategories method and binding from CompanySettingsDialog
This commit is contained in:
seb
2026-08-03 08:06:28 +02:00
parent 404a7f4fce
commit 30ccda010f
3 changed files with 0 additions and 20 deletions

View File

@@ -1,6 +1,5 @@
import { Component } from 'react';
import { connect } from 'react-redux';
import { enqueueSnackbar } from 'notistack';
import { ActionTile } from '../tiles';
import { createCategory as createCategoryThunk } from '../../store/categorySlice';
import CategoryNameDialog from './CategoryNameDialog';
@@ -25,7 +24,6 @@ class NewCategoryTile extends Component {
async handleSubmit({ name }) {
const { parentId } = this.props;
await this.props.createCategory({ parentId, name }).unwrap();
enqueueSnackbar('Kategorie angelegt.', { variant: 'success' });
}
render() {