Skip to content

Commit

Permalink
🧹 Chore: Replace to inline return
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas committed Jul 5, 2024
1 parent 910325d commit 9d403e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/frontend/logic/services/getPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
export async function getPages() {
// Logic
// TODO: Replace with API call
const pages = {
// Return
return {
"archive": {
title: "Archive",
subtitle: "Knowledge Graph & File System",
Expand All @@ -31,6 +32,4 @@ export async function getPages() {
path: "/solid"
}
};
// Return
return pages;
}

0 comments on commit 9d403e7

Please sign in to comment.