mirror of
https://github.com/Snigdha-OS/package-browser.git
synced 2025-09-06 04:35:17 +02:00
Update PackageList.tsx
This commit is contained in:
@@ -27,8 +27,9 @@ export function PackageList({
|
||||
);
|
||||
|
||||
const sortedPackages = useMemo(
|
||||
() => [...packages].sort((a, b) => a.name.localeCompare(b.name)),
|
||||
[packages]
|
||||
() => [...packages].sort(
|
||||
(a, b) => a.name.localeCompare(b.name)
|
||||
), [packages]
|
||||
);
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user