Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Jul 29, 2024
1 parent a002a63 commit 9f50e88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/react-native/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const sidebar: SideBar = {
const [, extensionName] = getCustomTag(f) || [];
if (extensionName) {
acc[extensionName] = acc[extensionName] || [];
acc[extensionName].push(f);
acc[extensionName]?.push(f);
}
return acc;
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/react/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const sidebar: SideBar = {
const [, extensionName] = getCustomTag(f) || [];
if (extensionName) {
acc[extensionName] = acc[extensionName] || [];
acc[extensionName].push(f);
acc[extensionName]?.push(f);
}
return acc;
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/typescript/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export const sidebar: SideBar = {
const [, extensionName] = getCustomTag(f) || [];
if (extensionName) {
acc[extensionName] = acc[extensionName] || [];
acc[extensionName].push(f);
acc[extensionName]?.push(f);
}
return acc;
},
Expand Down

0 comments on commit 9f50e88

Please sign in to comment.