Skip to content

Commit

Permalink
fix: JSX imports from React
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow committed Oct 30, 2024
1 parent 13fee16 commit 76c438a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/cms/src/emails/helper-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { type NewsItem } from "@tietokilta/cms-types/payload";
import { type EditorState, type Node } from "@tietokilta/cms-types/lexical";
import { Link } from "@react-email/components";
import type { JSX } from "react";
import {
IS_BOLD,
IS_CODE,
Expand Down
1 change: 1 addition & 0 deletions apps/cms/src/emails/utils/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Node } from "@tietokilta/cms-types/lexical";
import type { JSX } from "react";

export type Locale = (typeof locales)[number];

Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/board-grid/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Board, BoardMember, Media } from "@tietokilta/cms-types/payload";
import { MailIcon, SendIcon, PhoneIcon } from "@tietokilta/ui";
import Image from "next/image";
import type { JSX } from "react";
import TikLogo from "../../assets/TiK-logo.png";
import { cn, insertSoftHyphens } from "../../lib/utils";

Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/committee-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type {
} from "@tietokilta/cms-types/payload";
import Image from "next/image";
import { ChevronDownIcon, GavelIcon } from "@tietokilta/ui";
import type { JSX } from "react";
import TikLogo from "../../assets/TiK-logo.png";
import { cn, insertSoftHyphens } from "../../lib/utils";

Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/committee-list/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { CommitteesYearBlockNode } from "@tietokilta/cms-types/lexical";
import type { JSX } from "react";
import { fetchCommittees } from "../../lib/api/committees";
import { CommitteeCard } from "../committee-card";
import { getCurrentLocale } from "../../locales/server";
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/honors-list/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { AwardedHonor, Honor } from "@tietokilta/cms-types/payload";
import { ChevronDownIcon } from "@tietokilta/ui";
import _ from "lodash";
import type { JSX } from "react";
import { cn } from "../../lib/utils";

function AwardedPersonDropdown({
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/lexical/lexical-serializer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { FileIcon } from "@tietokilta/ui";
import Image from "next/image";
import Link from "next/link";
import { type Media } from "@tietokilta/cms-types/payload";
import type { JSX } from "react";
import {
cn,
insertSoftHyphens,
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
} from "@tietokilta/ui";
import type { ButtonProps } from "@tietokilta/ui";
import Link from "next/link";
import type { JSX } from "react";
import { cn } from "../../lib/utils";

function Pagination({
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { EditorState, Node } from "@tietokilta/cms-types/lexical";
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
import type { JSX } from "react";
import { type Locale } from "../locales/server";
import {
type EventQuotaWithSignups,
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lib/components/sheet/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as SheetPrimitive from "@radix-ui/react-dialog";
import { cva, type VariantProps } from "class-variance-authority";
import * as React from "react";
import type { JSX } from "react";
import { XIcon } from "../../icons";
import { cn } from "../../utils";

Expand Down
1 change: 1 addition & 0 deletions packages/ui/lib/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import {
HandshakeIcon,
} from "lucide-react";
import React from "react";
import type { JSX } from "react";
import { default as TikLogo } from "./tik-logo";
import NavGuildIcon from "./nav/guild";
import NavFuksisIcon from "./nav/fuksis";
Expand Down

0 comments on commit 76c438a

Please sign in to comment.