Removed workaround for IDs
This commit is contained in:
parent
0648e3f2ac
commit
4657d95bde
1 changed files with 0 additions and 5 deletions
|
|
@ -151,11 +151,6 @@ export default function StorePage(): JSX.Element {
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
if (err.response?.status === 403 || err.response?.status === 401) {
|
if (err.response?.status === 403 || err.response?.status === 401) {
|
||||||
setValidApiKey(false);
|
setValidApiKey(false);
|
||||||
} else if (
|
|
||||||
err.response?.data?.detail ===
|
|
||||||
"Unexpected error: Object of type UUID is not JSON serializable"
|
|
||||||
) {
|
|
||||||
navigate("/store/" + inputText);
|
|
||||||
} else {
|
} else {
|
||||||
setSearchData([]);
|
setSearchData([]);
|
||||||
setTotalRowsCount(0);
|
setTotalRowsCount(0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue