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 5f91f53cbdfac3a82db5c5e7dc0da171a339e986
1 change: 0 additions & 1 deletion src/app/(unauthenticated)/password-updated/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiCheckboxCircleLine } from "@remixicon/react";
import type { Metadata } from "next";
import Link from "next/link";

Expand Down
1 change: 0 additions & 1 deletion src/app/updates/[publicId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { type JWTVerifyResult, decode } from "@/lib/jwt";
import { UpdateStatusEnum } from "@/prisma/enums";
import { db } from "@/server/db";
import { renderAsync } from "@react-email/components";
import { RiLock2Line } from "@remixicon/react";
import { notFound } from "next/navigation";
import { Fragment } from "react";

Expand Down
1 change: 0 additions & 1 deletion src/components/dashboard/navbar/mobile-drawer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { Sheet, SheetContent, SheetTrigger } from "@/components/ui/sheet";
import { RiMenuLine } from "@remixicon/react";
import { SideBar } from "../sidebar";

import type { TGetCompanyList } from "@/server/company";
Expand Down
1 change: 0 additions & 1 deletion src/components/dashboard/sidebar/company-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { Icon } from "@/components/ui/icon";
import type { TGetCompanyList } from "@/server/company";
import { api } from "@/trpc/react";
import * as SelectPrimitive from "@radix-ui/react-select";
import { RiAddCircleLine } from "@remixicon/react";
import { useSession } from "next-auth/react";
import { usePathname, useRouter } from "next/navigation";
import { useState } from "react";
Expand Down
1 change: 0 additions & 1 deletion src/components/file/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { PdfViewer } from "@/components/ui/pdf-viewer";
import { fileType } from "@/lib/mime";
import { RiFileUnknowFill as UnknownFileIcon } from "@remixicon/react";

type FilePreviewProps = {
name: string;
Expand Down
1 change: 0 additions & 1 deletion src/components/member/member-bulk-import-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Modal from "@/components/common/modal";
import TeamMemberUploader from "@/components/member/member-uploader";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiGroup2Fill } from "@remixicon/react";
import { useState } from "react";

export default function MemberBulkImportModal() {
Expand Down
1 change: 0 additions & 1 deletion src/components/member/member-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { Avatar, AvatarImage } from "@/components/ui/avatar";
import { Icon } from "@/components/ui/icon";
import { getRoleId } from "@/lib/rbac/access-control-utils";
import type { RouterOutputs } from "@/trpc/shared";
import { RiMore2Fill } from "@remixicon/react";
import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
import { pushModal } from "../modals";
Expand Down
1 change: 0 additions & 1 deletion src/components/member/member-uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icon } from "@/components/ui/icon";
import { parseInviteMembersCSV } from "@/lib/invite-team-members-csv-parser";
import { api } from "@/trpc/react";
import type { TypeZodInviteMemberArrayMutationSchema } from "@/trpc/routers/member-router/schema";
import { RiUploadLine } from "@remixicon/react";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { useRef, useState } from "react";
Expand Down
1 change: 0 additions & 1 deletion src/components/member/verify-member-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
type TypeZodAcceptMemberMutationSchema,
ZodAcceptMemberMutationSchema,
} from "@/trpc/routers/member-router/schema";
import { RiArrowRightLine } from "@remixicon/react";
import { Button } from "../ui/button";
import { Input } from "../ui/input";

Expand Down
1 change: 0 additions & 1 deletion src/components/modals/equity-pan/equity-plan-form.tsx
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 @@ -22,7 +22,6 @@ import { TAG } from "@/lib/tags";
import { useEsignValues } from "@/providers/esign-form-provider";
import { api } from "@/trpc/react";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiDeleteBinLine } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { useFieldArray, useForm } from "react-hook-form";
import { z } from "zod";
Expand Down
1 change: 0 additions & 1 deletion src/components/onboarding/check-email/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/react";
import { RiMailLine } from "@remixicon/react";
import { useSearchParams } from "next/navigation";
import { toast } from "sonner";

Expand Down
1 change: 0 additions & 1 deletion src/components/onboarding/company-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
ZodOnboardingMutationSchema,
} from "@/trpc/routers/onboarding-router/schema";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiArrowRightLine } from "@remixicon/react";
import { useForm } from "react-hook-form";

import { dayjsExt } from "@/common/dayjs";
Expand Down
1 change: 0 additions & 1 deletion src/components/onboarding/email-sent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { RiMailLine } from "@remixicon/react";
import Link from "next/link";

const EmailSent = () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/onboarding/signin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { PasswordInput } from "@/components/ui/password-input";
import { api } from "@/trpc/react";
import { ZCurrentPasswordSchema } from "@/trpc/routers/auth/schema";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiDoorLockLine, RiGoogleFill } from "@remixicon/react";
import {
browserSupportsWebAuthn,
startAuthentication,
Expand Down
1 change: 0 additions & 1 deletion src/components/onboarding/signup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { PasswordInput } from "@/components/ui/password-input";
import { api } from "@/trpc/react";
import { ZPasswordSchema } from "@/trpc/routers/auth/schema";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiGoogleFill } from "@remixicon/react";
import { signIn } from "next-auth/react";
import Link from "next/link";
import { useRouter } from "next/navigation";
Expand Down
1 change: 0 additions & 1 deletion src/components/rbac/role-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ADMIN_PERMISSION } from "@/lib/rbac/constants";
import type { TPermission } from "@/lib/rbac/schema";
import { api } from "@/trpc/react";
import type { RouterOutputs } from "@/trpc/shared";
import { RiMore2Fill } from "@remixicon/react";
import {
type ColumnDef,
type ColumnFiltersState,
Expand Down
1 change: 0 additions & 1 deletion src/components/safe/safe-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { Icon } from "@/components/ui/icon";
import { RiAddFill, RiSafe2Fill, RiSafeFill } from "@remixicon/react";
import { pushModal } from "../modals";

export function SafeActions() {
Expand Down
1 change: 0 additions & 1 deletion src/components/safe/safe-table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { DataTablePagination } from "@/components/ui/data-table/data-table-pagin
import { Icon } from "@/components/ui/icon";
import { getPresignedGetUrl } from "@/server/file-uploads";
import type { RouterOutputs } from "@/trpc/shared";
import { RiFileDownloadLine, RiMore2Fill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { SafeTableToolbar } from "./safe-table-toolbar";
Expand Down
1 change: 0 additions & 1 deletion src/components/safe/steps/investor-details/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { useFormValueUpdater } from "@/providers/form-value-provider";
import type { RouterOutputs } from "@/trpc/shared";
import { zodResolver } from "@hookform/resolvers/zod";
import * as SelectPrimitive from "@radix-ui/react-select";
import { RiAddCircleLine } from "@remixicon/react";
import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
import { useForm, useFormContext, useWatch } from "react-hook-form";
Expand Down
1 change: 0 additions & 1 deletion src/components/safe/steps/safe-template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import { invariant } from "@/lib/error";
import { TAG } from "@/lib/tags";
import { api } from "@/trpc/react";
import { ZodTemplateFieldRecipientSchema } from "@/trpc/routers/template-router/schema";
import { RiDeleteBinLine } from "@remixicon/react";
import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
Expand Down
1 change: 0 additions & 1 deletion src/components/securities/options/option-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { DataTablePagination } from "@/components/ui/data-table/data-table-pagin
import { Icon } from "@/components/ui/icon";
import { getPresignedGetUrl } from "@/server/file-uploads";
import type { RouterOutputs } from "@/trpc/shared";
import { RiFileDownloadLine, RiMore2Fill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { OptionTableToolbar } from "./option-table-toolbar";
Expand Down
1 change: 0 additions & 1 deletion src/components/securities/shares/share-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {
DropdownMenu,
DropdownMenuTrigger,
} from "@radix-ui/react-dropdown-menu";
import { RiFileDownloadLine, RiMore2Fill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { ShareTableToolbar } from "./share-table-toolbar";
Expand Down
1 change: 0 additions & 1 deletion src/components/securities/shares/steps/general-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import { SecuritiesStatusEnum, ShareLegendsEnum } from "@/prisma/enums";
import { useAddShareFormValues } from "@/providers/add-share-form-provider";
import type { RouterOutputs } from "@/trpc/shared";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiAddFill } from "@remixicon/react";
import { type UseFormReturn, useForm } from "react-hook-form";
import { NumericFormat } from "react-number-format";
import { z } from "zod";
Expand Down
1 change: 0 additions & 1 deletion src/components/security/SettingHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Icon } from "@/components/ui/icon";
import { cn } from "@/lib/utils";
import { withServerComponentSession } from "@/server/auth";
import { RiArrowLeftLine } from "@remixicon/react";
import Link from "next/link";
import type React from "react";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { DataTable } from "@/components/ui/data-table/data-table";
import { DataTablePagination } from "@/components/ui/data-table/data-table-pagination";
import { Icon } from "@/components/ui/icon";
import { api } from "@/trpc/react";
import { RiMore2Fill } from "@remixicon/react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { Button } from "../../ui/button";
Expand Down
22 changes: 0 additions & 22 deletions src/components/settings/settings-sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
"use client";

import { NavLink } from "@/components/dashboard/sidebar/nav-link";
import { Icon } from "@/components/ui/icon";
import {
RiAccountCircleFill,
RiAccountCircleLine,
RiBankCardFill,
RiBankCardLine,
RiBankFill,
RiBankLine,
RiBuildingFill,
RiBuildingLine,
RiGroup2Fill,
RiGroup2Line,
RiLock2Fill,
RiLock2Line,
RiNotificationFill,
RiNotificationLine,
RiShieldUserFill,
RiShieldUserLine,
RiTerminalBoxFill,
RiTerminalBoxLine,
} from "@remixicon/react";
import { useSession } from "next-auth/react";
import { usePathname } from "next/navigation";

Expand Down
1 change: 0 additions & 1 deletion src/components/stakeholder/stakeholder-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { Icon } from "@/components/ui/icon";
import { RiAccountCircleFill, RiAddFill, RiGroup2Fill } from "@remixicon/react";

export default function StakeholderDropdown() {
return (
Expand Down
1 change: 0 additions & 1 deletion src/components/stakeholder/stakeholder-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { DataTableHeader } from "@/components/ui/data-table/data-table-header";
import { DataTablePagination } from "@/components/ui/data-table/data-table-pagination";
import { Icon } from "@/components/ui/icon";
import type { RouterOutputs } from "@/trpc/shared";
import { RiMore2Fill } from "@remixicon/react";
import {
type ColumnDef,
type ColumnFiltersState,
Expand Down
1 change: 0 additions & 1 deletion src/components/stakeholder/stakeholder-uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icon } from "@/components/ui/icon";
import { parseStrakeholdersCSV } from "@/lib/stakeholders-csv-parser";
import { api } from "@/trpc/react";
import type { TypeStakeholderArray } from "@/trpc/routers/stakeholder-router/schema";
import { RiUploadLine } from "@remixicon/react";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { useRef, useState } from "react";
Expand Down