[WEB-881] fix: Sentry errors from previous build (#4142)

* Sentry Fix for "Non-Error promise rejection captured with value: Route change to url was aborted"

* Sentry fix for "undefined is not an object (evaluating 'n.response')"

* Possible Sentry Fix for "TypeError Function.entries(<anonymous>)"

* Possible Sentry fix for "null is not an object (evaluating 'e.type')"
This commit is contained in:
rahulramesha 2024-04-09 13:12:14 +05:30 committed by GitHub
parent 03df410b52
commit 95580d0c62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 32 additions and 27 deletions

View file

@ -19,7 +19,7 @@ type Props = {
export const replaceUnderscoreIfSnakeCase = (str: string) => str.replace(/_/g, " ");
export const AppliedFiltersList: React.FC<Props> = (props) => {
const { appliedFilters, handleRemoveAllFilters, handleRemoveFilter, states } = props;
const { appliedFilters = {}, handleRemoveAllFilters, handleRemoveFilter, states } = props;
return (
<div className="flex flex-wrap items-stretch gap-2 bg-custom-background-100">