hotifx: added more snackbars and some details to help debug reon
This commit is contained in:
parent
8238c4df58
commit
128a06e0a0
3 changed files with 12 additions and 5 deletions
|
|
@ -199,6 +199,7 @@ export default function Bins(props: Props) {
|
|||
const [cardValDisplay, setCardValDisplay] = useState<"high" | "low" | "average">("high");
|
||||
|
||||
const [teamsDialog, setTeamsDialog] = useState(false)
|
||||
const snackbar = useSnackbar()
|
||||
|
||||
// const [scrollTranslations, setScrollTranslations] = useState({
|
||||
// bins: 0,
|
||||
|
|
@ -265,6 +266,8 @@ export default function Bins(props: Props) {
|
|||
// console.log("should?")
|
||||
setTeamsDialog(true)
|
||||
}
|
||||
}).catch(err => {
|
||||
snackbar.error("error listing teams: "+err)
|
||||
})
|
||||
}
|
||||
}, [doneLoadingPage, grainBins, grainBags])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue