Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove remix icon
  • Loading branch information
G3root committed Aug 9, 2024
commit c6d1de6c58320cb4d38475d6479e7e932c000f7c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
PopoverTrigger,
} from "@/components/ui/popover";
import { api } from "@/trpc/react";
import { RiArrowRightLine as ArrowRightIcon } from "@remixicon/react";
import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
import { useState } from "react";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
import { PageLayout } from "@/components/dashboard/page-layout";
import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { cn } from "@/lib/utils";
import type { DataRoom } from "@prisma/client";
import {
RiFolder3Fill as FolderIcon,
RiMore2Fill as MoreIcon,
RiAddFill,
} from "@remixicon/react";
import Link from "next/link";
import DataRoomPopover from "./data-room-popover";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { pushModal } from "@/components/modals";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiAddFill } from "@remixicon/react";
import type React from "react";

type AddEsignDocumentButtonProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { withServerComponentSession } from "@/server/auth";
import { api } from "@/trpc/server";
import { RiUploadCloudLine } from "@remixicon/react";
import type { Metadata } from "next";
import { AddEsignDocumentButton } from "./components/add-esign-doc-button";
import { ESignTable } from "./components/table";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Icon } from "@/components/ui/icon";
import { serverAccessControl } from "@/lib/rbac/access-control";
import { TemplateSigningFieldProvider } from "@/providers/template-signing-field-provider";
import { api } from "@/trpc/server";
import { RiCheckFill } from "@remixicon/react";

type BadgeVariant =
| "warning"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { withServerComponentSession } from "@/server/auth";
import { api } from "@/trpc/server";
import { RiAddFill, RiUploadCloudLine } from "@remixicon/react";
import type { Metadata } from "next";
import DocumentUploadModal from "../components/modal";
import DocumentsTable from "../components/table";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { EquityPlanMutationType } from "@/trpc/routers/equity-plan/schema";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiAddFill } from "@remixicon/react";
import type React from "react";

type CreateEquityPlanButtonProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Textarea } from "@/components/ui/textarea";
import { api } from "@/trpc/react";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiAddFill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { useForm } from "react-hook-form";
import { NumericFormat } from "react-number-format";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { withServerComponentSession } from "@/server/auth";
import { db } from "@/server/db";
import type { EquityPlanMutationType } from "@/trpc/routers/equity-plan/schema";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiAddFill, RiPieChart2Line } from "@remixicon/react";
import type { Metadata } from "next";
import { CreateEquityPlanButton } from "./create-equity-plan-button";
import EquityPlanTable from "./table";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import type { EquityPlanMutationType } from "@/trpc/routers/equity-plan/schema";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiEqualizer2Line } from "@remixicon/react";
import EquityPlanModal from "./modal";
const formatter = new Intl.NumberFormat("en-US");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EmptyState from "@/components/common/empty-state";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiPieChartFill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EmptyState from "@/components/common/empty-state";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiPieChartFill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { SafeTable } from "@/components/safe/safe-table";
import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/server";
import { RiSafeFill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EmptyState from "@/components/common/empty-state";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiFilePdf2Fill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { TStakeholders } from "@/components/modals/issue-share-modal";
import type { TEquityPlans } from "@/components/modals/issue-stock-option-modal";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiAddFill } from "@remixicon/react";
import type React from "react";

type CreateShareClassButtonProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import OptionTable from "@/components/securities/options/option-table";
import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/server";
import { RiGroup2Fill } from "@remixicon/react";
import type { Metadata } from "next";
import { IssueStockOptionButton } from "./issue-stock-option-button";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type {
} from "@/components/modals/issue-share-modal";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiAddFill } from "@remixicon/react";
import type React from "react";

type IssueShareButtonProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/server";
import { RiAddFill, RiPieChartFill } from "@remixicon/react";
import type { Metadata } from "next";
import { IssueShareButton } from "./issue-share-button";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EmptyState from "@/components/common/empty-state";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiPieChartFill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { pushModal } from "@/components/modals";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiAddLine } from "@remixicon/react";

const CtaButton = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Icon } from "@/components/ui/icon";
import { UnAuthorizedState } from "@/components/ui/un-authorized-state";
import { serverAccessControl } from "@/lib/rbac/access-control";
import { api } from "@/trpc/server";
import { RiBankFill } from "@remixicon/react";
import type { Metadata } from "next";
import { Fragment } from "react";
import CtaButton from "./components/cta-button";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/react";
import { RiAddLine } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { Fragment, useState } from "react";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import {
} from "@/components/ui/table";
import { api } from "@/trpc/react";
import type { RouterOutputs } from "@/trpc/shared";
import { RiMore2Fill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { useState } from "react";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EmptyState from "@/components/common/empty-state";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/server";
import { RiTerminalBoxFill } from "@remixicon/react";
import type { Metadata } from "next";
import Link from "next/link";
import { Fragment } from "react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from "@/components/ui/dropdown-menu";
import { Icon } from "@/components/ui/icon";
import type { RouterOutputs } from "@/trpc/shared";
import { RiAccountCircleFill, RiAddLine } from "@remixicon/react";

type Roles = RouterOutputs["rbac"]["listRoles"]["rolesList"];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { pushModal } from "@/components/modals";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiAddFill } from "@remixicon/react";

type CreateShareClassButtonProps = {
shareClasses: ShareClassMutationType[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Tldr from "@/components/common/tldr";
import { pushModal } from "@/components/modals";
import { Icon } from "@/components/ui/icon";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiEqualizer2Line } from "@remixicon/react";

type EditShareClassButtonProps = {
shareClasses?: ShareClassMutationType[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Icon } from "@/components/ui/icon";
import { withServerComponentSession } from "@/server/auth";
import { db } from "@/server/db";
import type { ShareClassMutationType } from "@/trpc/routers/share-class/schema";
import { RiPieChart2Line } from "@remixicon/react";
import type { Metadata } from "next";
import { CreateShareButton } from "./create-share-class-button";
import ShareClassTable from "./table";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Icon } from "@/components/ui/icon";
import { UnAuthorizedState } from "@/components/ui/un-authorized-state";
import { serverAccessControl } from "@/lib/rbac/access-control";
import { api } from "@/trpc/server";
import { RiGroup2Fill } from "@remixicon/react";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Card } from "@/components/ui/card";
import { Icon } from "@/components/ui/icon";
import UpdateTable from "@/components/update/update-table";
import { api } from "@/trpc/server";
import { RiAddFill, RiMailSendLine } from "@remixicon/react";
import type { Metadata } from "next";
import Link from "next/link";

Expand Down
1 change: 0 additions & 1 deletion src/app/(unauthenticated)/new/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Icon } from "@/components/ui/icon";
import { env } from "@/env";
import { getServerComponentAuthSession } from "@/server/auth";
import { RiCheckboxCircleFill as CheckIcon } from "@remixicon/react";

import { redirect } from "next/navigation";
import { notFound } from "next/navigation";
Expand Down