building in development mode on dev server for better error reading
This commit is contained in:
parent
9edb6bbb2f
commit
bcef5ecd85
2 changed files with 5 additions and 6 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
DialogContent,
|
||||
DialogTitle,
|
||||
Divider,
|
||||
Grid,
|
||||
Grid2,
|
||||
lighten,
|
||||
List,
|
||||
|
|
@ -104,7 +103,7 @@ export default function GroupSettings(props: Props) {
|
|||
|
||||
setDevices(rDevices);
|
||||
})
|
||||
.catch((error: any) => {
|
||||
.catch((_error: any) => {
|
||||
setDevices([]);
|
||||
})
|
||||
.finally(() => setLoadingDevices(false));
|
||||
|
|
@ -134,7 +133,7 @@ export default function GroupSettings(props: Props) {
|
|||
case "add":
|
||||
groupAPI
|
||||
.addGroup(group.settings)
|
||||
.then((response: any) => {
|
||||
.then((_response: any) => {
|
||||
success(groupName + " was successfully created");
|
||||
close();
|
||||
refreshCallback();
|
||||
|
|
@ -150,7 +149,7 @@ export default function GroupSettings(props: Props) {
|
|||
default:
|
||||
groupAPI
|
||||
.updateGroup(group.id(), group.settings)
|
||||
.then((response: any) => {
|
||||
.then((_response: any) => {
|
||||
success(groupName + " was successfully updated");
|
||||
close();
|
||||
refreshCallback();
|
||||
|
|
@ -465,7 +464,7 @@ export default function GroupSettings(props: Props) {
|
|||
{mode === "update" && (
|
||||
<Tabs
|
||||
value={tabIndex}
|
||||
onChange={(event, value) => {
|
||||
onChange={(_event, value) => {
|
||||
changeTab(value);
|
||||
}}
|
||||
indicatorColor="secondary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue