Skip to content

Commit 7a9c0b5

Browse files
Ruben van LeeuwenDutchBen
authored andcommitted
1126: Prettier fix
1 parent 50e8f68 commit 7a9c0b5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/orchestrator-ui-components/src/components/WfoRouteChangeListener/WfoRouteChangeListener.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const WfoRouteChangeListener = () => {
1414
getSession().then((session) => {
1515
if (!session) {
1616
signIn();
17-
} });
17+
}
18+
});
1819
}
1920
}, [authActive, router]);
2021
return <></>;

packages/orchestrator-ui-components/src/rtk/api.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ export const orchestratorApi = createApi({
8787
prepareHeaders,
8888
customErrors: (error) => {
8989
const { name, message, stack, response } = error;
90-
if (
91-
response?.errors &&
92-
response.errors?.length > 0 &&
93-
authActive
94-
) {
90+
if (response?.errors?.length && authActive) {
9591
response.errors.map((error) => {
9692
// TODO: https://github.com/workfloworchestrator/orchestrator-ui-library/issues/1105
9793
if (

0 commit comments

Comments
 (0)