Skip to content

Commit

Permalink
Style: linitng
Browse files Browse the repository at this point in the history
  • Loading branch information
MagnusHafstad committed Jul 27, 2024
1 parent 8b1eb14 commit 4ea9f37
Show file tree
Hide file tree
Showing 4 changed files with 9,321 additions and 1,082 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/pages/organization/OrgShop.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useQuery } from "@apollo/client";
import { Box, Grid, Stack, Typography } from "@mui/material";

import { ShopSale } from "../orgs/ShopSale";

import { AdminOrganizationFragment, AllShopOrdersDocument } from "@/generated/graphql";

import { ShopSale } from "../orgs/ShopSale";

type Props = {
organization: AdminOrganizationFragment;
};
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/components/pages/profile/UserForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ export const UserForm: React.FC<Props> = ({ kind, title, onCompleted, "data-test
{data?.user?.canUpdateYear && <FormHelperText>Kan bare endres én gang i året.</FormHelperText>}
{!data?.user?.canUpdateYear && (
<FormHelperText>
Kan ikke endres før:{" "}
{dayjs(data?.user?.yearUpdatedAt)
.add(1, "year")
.format("L")}
Kan ikke endres før: {dayjs(data?.user?.yearUpdatedAt).add(1, "year").format("L")}
</FormHelperText>
)}
</FormControl>
Expand Down
Loading

0 comments on commit 4ea9f37

Please sign in to comment.