@@ -2,7 +2,7 @@ import { ArrowUpCircleIcon, PlusIcon, TrashIcon } from "@heroicons/react/20/soli
22import { DialogClose } from "@radix-ui/react-dialog" ;
33import { type ActionFunctionArgs , type LoaderFunctionArgs } from "@remix-run/node" ;
44import { Form , useNavigation } from "@remix-run/react" ;
5- import { IconChartHistogram , IconEdit } from "@tabler/icons-react" ;
5+ import { IconChartHistogram , IconEdit , IconTypography } from "@tabler/icons-react" ;
66import { useCallback , useEffect , useState } from "react" ;
77import { typedjson , useTypedLoaderData } from "remix-typedjson" ;
88import { toast } from "sonner" ;
@@ -57,6 +57,7 @@ import {
5757} from "~/utils/pathBuilder" ;
5858import { MetricDashboard } from "../_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.metrics.$dashboardKey/route" ;
5959import { useCurrentPlan } from "../_app.orgs.$organizationSlug/route" ;
60+ import { Type } from "lucide-react" ;
6061
6162const ParamSchema = EnvironmentParamSchema . extend ( {
6263 dashboardId : z . string ( ) ,
@@ -389,7 +390,9 @@ export default function Page() {
389390 </ Dialog >
390391 < Button
391392 variant = "secondary/small"
392- LeadingIcon = { PlusIcon }
393+ LeadingIcon = { Type }
394+ className = "pl-1.5"
395+ iconSpacing = "gap-x-1"
393396 onClick = { ( ) => {
394397 setNewTitleValue ( "" ) ;
395398 setShowAddTitleDialog ( true ) ;
@@ -402,14 +405,18 @@ export default function Page() {
402405 < >
403406 < Button
404407 variant = "primary/small"
405- LeadingIcon = { PlusIcon }
408+ LeadingIcon = { IconChartHistogram }
409+ className = "pl-1.5"
410+ iconSpacing = "gap-x-1.5"
406411 onClick = { actions . openAddEditor }
407412 >
408413 Add chart
409414 </ Button >
410415 < Button
411416 variant = "secondary/small"
412- LeadingIcon = { PlusIcon }
417+ LeadingIcon = { Type }
418+ className = "pl-1.5"
419+ iconSpacing = "gap-x-1"
413420 onClick = { ( ) => {
414421 setNewTitleValue ( "" ) ;
415422 setShowAddTitleDialog ( true ) ;
0 commit comments