update: unify
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import { Plus, Search } from "lucide-react";
|
||||
import { ApiRequestError, type Employee, type Workspace, type WorkspaceMember } from "../../services/api";
|
||||
import { useApi, useAuth } from "../../context/AuthContext";
|
||||
import Icon from "../../components/common/Icon";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import {
|
||||
Table,
|
||||
@@ -244,7 +244,7 @@ export function ProjectManagementPage({
|
||||
<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="请输入项目名称"
|
||||
@@ -261,7 +261,7 @@ export function ProjectManagementPage({
|
||||
onClick={openCreateProject}
|
||||
className={PRIMARY_BUTTON_CLASS}
|
||||
>
|
||||
<Icon name="plus" size={15} />
|
||||
<Plus size={15} />
|
||||
新建项目
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user