A full-featured CRM built with React, shadcn/ui, and Supabase.
fin install
erwanMarmelab2826ba964ad1
diff --git a/package-lock.json b/package-lock.jsonindex 477372b1..07b570e1 100644--- a/package-lock.json+++ b/package-lock.json@@ -13,6 +13,7 @@"@hello-pangea/dnd": "^18.0.1","@nivo/bar": "^0.99.0","@streamparser/json-whatwg": "^0.0.22",+ "@supabase/supabase-js": "^2.90.1","@tailwindcss/vite": "^4.1.18","@tanstack/query-async-storage-persister": "^5.90.22","@tanstack/react-query": "^5.101.0",@@ -21,6 +22,7 @@"class-variance-authority": "^0.7.1","clsx": "^2.1.1","cmdk": "^1.1.1",+ "date-fns": "^4.4.0","diacritic": "^0.0.2","dompurify": "^3.4.0","faker": "^5.5.3",@@ -8750,8 +8752,6 @@"version": "4.4.0","resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz","integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==",- "optional": true,- "peer": true,"funding": {"type": "github","url": "https://github.com/sponsors/kossnocorp"diff --git a/package.json b/package.jsonindex d8c17b77..d7091b86 100644--- a/package.json+++ b/package.json@@ -32,6 +32,7 @@"@hello-pangea/dnd": "^18.0.1","@nivo/bar": "^0.99.0","@streamparser/json-whatwg": "^0.0.22",+ "@supabase/supabase-js": "^2.90.1","@tailwindcss/vite": "^4.1.18","@tanstack/query-async-storage-persister": "^5.90.22","@tanstack/react-query": "^5.101.0",@@ -40,6 +41,7 @@"class-variance-authority": "^0.7.1","clsx": "^2.1.1","cmdk": "^1.1.1",+ "date-fns": "^4.4.0","diacritic": "^0.0.2","dompurify": "^3.4.0","faker": "^5.5.3",diff --git a/src/components/atomic-crm/companies/CompanyShow.tsx b/src/components/atomic-crm/companies/CompanyShow.tsxindex 630bcf76..e0f20bf2 100644--- a/src/components/atomic-crm/companies/CompanyShow.tsx+++ b/src/components/atomic-crm/companies/CompanyShow.tsx@@ -19,7 +19,7 @@ import {useLocation,useMatch,useNavigate,-} from "react-router-dom";+} from "react-router";import { useIsMobile } from "@/hooks/use-mobile";import { cn } from "@/lib/utils";diff --git a/src/components/atomic-crm/login/StartPage.tsx b/src/components/atomic-crm/login/StartPage.tsxindex cd92ba3d..c7223d54 100644--- a/src/components/atomic-crm/login/StartPage.tsx+++ b/src/components/atomic-crm/login/StartPage.tsx@@ -1,6 +1,6 @@import { useQuery } from "@tanstack/react-query";import { useDataProvider } from "ra-core";-import { Navigate } from "react-router-dom";+import { Navigate } from "react-router";import type { CrmDataProvider } from "../providers/types";import { LoginSkeleton } from "./LoginSkeleton";diff --git a/src/components/supabase/oauth-consent-page.tsx b/src/components/supabase/oauth-consent-page.tsxindex 703174c4..779c56fa 100644--- a/src/components/supabase/oauth-consent-page.tsx+++ b/src/components/supabase/oauth-consent-page.tsx@@ -1,5 +1,5 @@import { useEffect, useState } from "react";-import { useNavigate, useSearchParams } from "react-router-dom";+import { useNavigate, useSearchParams } from "react-router";import { useAuthProvider, useTranslate } from "ra-core";import { Layout } from "@/components/supabase/layout";import { Button } from "@/components/ui/button";