Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Apr 26, 2024
1 parent 91595bc commit 62babf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/hooks/useClientContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function getCachedLibraries(client: AlphaClient<Procedures>) {
// If we fail to load cached data, it's fine
try {
const data = JSON.parse(cachedData);
return (data?.items || []) as LibraryConfigWrapped[];
return data as LibraryConfigWrapped[];
} catch (e) {
console.error("Error loading cached 'sd-library-list' data", e);
}
Expand Down

0 comments on commit 62babf2

Please sign in to comment.