From 99c5521e97070a3c3fd87a232c1a11c7e8f3f947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 26 Nov 2024 19:53:46 +0100 Subject: [PATCH] =?UTF-8?q?pl-fe:=20=F0=9F=A4=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/actions/filters.ts | 8 ++++---- packages/pl-fe/src/features/auth-token-list/index.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/pl-fe/src/actions/filters.ts b/packages/pl-fe/src/actions/filters.ts index 2ac06b2f4..21f4987a6 100644 --- a/packages/pl-fe/src/actions/filters.ts +++ b/packages/pl-fe/src/actions/filters.ts @@ -48,9 +48,9 @@ const fetchFilters = () => type: FILTERS_FETCH_SUCCESS, filters: data, })) - .catch(err => dispatch({ + .catch(error => dispatch({ type: FILTERS_FETCH_FAIL, - err, + error, skipAlert: true, })); }; @@ -68,10 +68,10 @@ const fetchFilter = (filterId: string) => return data; }) - .catch(err => { + .catch(error => { dispatch({ type: FILTER_FETCH_FAIL, - err, + error, skipAlert: true, }); }); diff --git a/packages/pl-fe/src/features/auth-token-list/index.tsx b/packages/pl-fe/src/features/auth-token-list/index.tsx index 137b77392..fd072ac64 100644 --- a/packages/pl-fe/src/features/auth-token-list/index.tsx +++ b/packages/pl-fe/src/features/auth-token-list/index.tsx @@ -95,7 +95,7 @@ const AuthTokenList: React.FC = () => { const body = tokens ? (
{tokens.map((token) => ( - + ))}
) : ;