Skip to content

Commit

Permalink
refactor(components): refactor InboxItems file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Scully authored and Sean Scully committed Feb 9, 2024
1 parent f3bf06f commit 01a8f26
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { InboxItem } from "./InboxItem.tsx";
export { InboxItems } from "../InboxItem/InboxItems.tsx";

This file was deleted.

3 changes: 1 addition & 2 deletions packages/frontend-design-poc/src/pages/Inbox/Inbox.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { PersonIcon, PersonSuitIcon, SealIcon, StarIcon } from '@navikt/aksel-icons';
import { InboxItems } from "../../components/InboxItems";
import { InboxItem } from "../../components/InboxItem";
import { InboxItems, InboxItem } from "../../components/InboxItem";

export const Inbox = () => {
const { t } = useTranslation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { useState } from "react";
import type { Meta } from "@storybook/react";
import { SealIcon, StarIcon, CalendarIcon } from "@navikt/aksel-icons";

import { InboxItems } from "../../../../frontend-design-poc/src/components/InboxItems";
import { InboxItem } from "../../../../frontend-design-poc/src/components/InboxItem";
import { InboxItems, InboxItem } from "../../../../frontend-design-poc/src/components/InboxItem";

const meta = {
title: "Example/InboxItems",
Expand Down

0 comments on commit 01a8f26

Please sign in to comment.