Skip to content

Commit

Permalink
refactor: remove unneccessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHeimGalindo committed Apr 25, 2024
1 parent 1be7cb0 commit 993d1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/landingpage/utils/context/VersionContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const VersionProvider = ({ children }: { children: ReactNode }) => {
useEffect(() => {
fetch('https://raw.githubusercontent.com/inovex/elements/pages/hosted-versions.json')
.then(response => response.json())
.then(data => setVersions(data.reverse())); // Assuming reversing is necessary
.then(data => setVersions(data.reverse()));
}, []);

return <VersionContext.Provider value={{ versions }}>{children}</VersionContext.Provider>;
Expand Down

0 comments on commit 993d1f9

Please sign in to comment.