Skip to content

Commit

Permalink
🐛 imports brakk tester
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Jan 5, 2024
1 parent 7b82463 commit fb709a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GpGroupedArticlesT } from "@/layout/god-praksis-page/types";
import { GpGroupedArticlesT } from "../types";
import { getArticleList } from "./get-article-list";

const baseArticle = (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GpArticleT } from "@/layout/god-praksis-page/queries";
import { GpArticleT } from "..//queries";
import { groupArticles } from "./group-articles";

const baseArticle = (id: string): GpArticleT => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export function groupArticles({
>();

initialInnholdstype.forEach((innholdstype) => {
console.log(innholdstype.articles.length);
innholdstype.articles.forEach((article) => {
articleMap.set(article._id, {
article,
Expand All @@ -32,9 +31,7 @@ export function groupArticles({
});
});

console.log("\n\n");
initialUndertema.forEach((tema) => {
console.log(tema.articles.length);
tema.articles.forEach((article) => {
const found = articleMap.get(article._id);

Expand Down

0 comments on commit fb709a1

Please sign in to comment.