diff --git a/src/blog/utils/articles.ts b/src/blog/utils/articles.ts
index 40459b7..29ca680 100644
--- a/src/blog/utils/articles.ts
+++ b/src/blog/utils/articles.ts
@@ -2,9 +2,8 @@ import {
ArticleModel,
} from "../types/models";
-// List helpers
export function createInList(list: ArticleModel[], a: ArticleModel) {
- return [a, ...list];
+ return [...list, a];
}
export function readInList(list: ArticleModel[], index: number) {
diff --git a/src/main.jsx b/src/main.jsx
index 3d2ff48..1becdc0 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -9,13 +9,11 @@ const rootElement = document.getElementById('root');
const root = createRoot(rootElement);
root.render(
-
-
-
-
-
-
-
-
- ,
+
+
+
+
+
+
+ ,
);