refactor: update icon imports in ArchivedIssueDetailsPage and DevErrorComponent

Replaced the old icon components with new ones from @makeplane/propel/icons in the ArchivedIssueDetailsPage and DevErrorComponent. This change enhances visual consistency across the application by standardizing the icon usage in banner notifications.
This commit is contained in:
Atul Tameshwari
2026-09-02 14:15:15 +05:30
parent 47e21128f8
commit cd379dce98
2 changed files with 6 additions and 5 deletions

View File

@@ -9,8 +9,8 @@ import { useRouter } from "next/navigation";
import useSWR from "swr";
// ui
import { Banner } from "@makeplane/propel/components/banner";
import { ArchiveOutline } from "@makeplane/propel/icons";
import { Button } from "@plane/propel/button";
import { ArchiveIcon } from "@plane/propel/icons";
import { Loader } from "@plane/ui";
// components
import { PageHead } from "@/components/core/page-title";
@@ -71,7 +71,7 @@ function ArchivedIssueDetailsPage({ params }: Route.ComponentProps) {
placement="page"
variant="warning"
title="This work item has been archived. Visit the Archives section to restore it."
icon={<ArchiveIcon />}
icon={<ArchiveOutline />}
actions={
<Button
variant="secondary"

View File

@@ -7,6 +7,7 @@
// plane imports
import { isRouteErrorResponse } from "react-router";
import { Banner } from "@makeplane/propel/components/banner";
import { InfoFilled } from "@makeplane/propel/icons";
import { Button } from "@plane/propel/button";
import { Card, ECardVariant } from "@plane/propel/card";
import { InfoFillIcon } from "@plane/propel/icons";
@@ -42,7 +43,7 @@ export function DevErrorComponent({ error, onGoHome, onReload }: DevErrorCompone
return (
<div className="flex min-h-screen items-start justify-center bg-surface-2 p-6 transition-none">
<div className="mt-12 w-full max-w-4xl space-y-4 transition-none">
<Banner placement="page" variant="danger" icon={<InfoFillIcon />} title="Route Error Response" />
<Banner placement="page" variant="danger" icon={<InfoFilled />} title="Route Error Response" />
<Card variant={ECardVariant.WITH_SHADOW} className="!p-6 transition-none">
<div className="space-y-4">
@@ -72,7 +73,7 @@ export function DevErrorComponent({ error, onGoHome, onReload }: DevErrorCompone
return (
<div className="flex min-h-screen items-start justify-center bg-surface-2 p-6 transition-none">
<div className="mt-12 w-full max-w-4xl space-y-4 transition-none">
<Banner placement="page" variant="danger" icon={<InfoFillIcon />} title="Runtime Error" />
<Banner placement="page" variant="danger" icon={<InfoFilled />} title="Runtime Error" />
<Card variant={ECardVariant.WITH_SHADOW} className="!p-6 transition-none">
<div className="space-y-4">
<div>
@@ -122,7 +123,7 @@ export function DevErrorComponent({ error, onGoHome, onReload }: DevErrorCompone
return (
<div className="flex min-h-screen items-start justify-center bg-surface-2 p-6 transition-none">
<div className="mt-12 w-full max-w-4xl space-y-4 transition-none">
<Banner placement="page" variant="danger" icon={<InfoFillIcon />} title="Unknown Error" />
<Banner placement="page" variant="danger" icon={<InfoFilled />} title="Unknown Error" />
<Card variant={ECardVariant.WITH_SHADOW} className="!p-6">
<div className="space-y-4">