update: unify

This commit is contained in:
tao.chen
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent 2a81b98309
commit df374d00c3
3 changed files with 11 additions and 9 deletions
@@ -1,9 +1,8 @@
import { useEffect, useState } from "react";
import { X } from "lucide-react";
import { Plus, Search, X } from "lucide-react";
import { ApiRequestError, type Employee, type Role } from "../../services/api";
import { useApi, useAuth } from "../../context/AuthContext";
import Icon from "../../components/common/Icon";
import { Button } from "~/components/ui/button";
import { Input } from "~/components/ui/input";
import {
@@ -198,7 +197,7 @@ export function UserManagementPage({
<section className="admin-page">
<div className="admin-toolbar">
<div className="admin-toolbar__search">
<Icon name="search" size={14} />
<Search size={14} />
<input
type="text"
placeholder="请输入用户名"
@@ -215,7 +214,7 @@ export function UserManagementPage({
onClick={openCreate}
className={PRIMARY_BUTTON_CLASS}
>
<Icon name="plus" size={15} />
<Plus size={15} />
</Button>
</div>