mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
chore: optimizations and file name changes (#2845)
* fix: deepsource antipatterns * fix: deepsource exclude file patterns * chore: file name changes and removed unwanted variables * fix: changing version number for editor
This commit is contained in:
@@ -8,10 +8,13 @@ import { Button } from "@plane/ui";
|
||||
// assets
|
||||
import emptyApiTokens from "public/empty-state/api-token.svg";
|
||||
|
||||
const ApiTokenEmptyState = () => {
|
||||
export const APITokenEmptyState = () => {
|
||||
const router = useRouter();
|
||||
|
||||
return (
|
||||
<div className={`flex items-center justify-center mx-auto rounded-sm border border-custom-border-200 bg-custom-background-90 py-10 px-16 w-full`}>
|
||||
<div
|
||||
className={`flex items-center justify-center mx-auto rounded-sm border border-custom-border-200 bg-custom-background-90 py-10 px-16 w-full`}
|
||||
>
|
||||
<div className="text-center flex flex-col items-center w-full">
|
||||
<Image src={emptyApiTokens} className="w-52 sm:w-60" alt="empty" />
|
||||
<h6 className="text-xl font-semibold mt-6 sm:mt-8 mb-3">No API Tokens</h6>
|
||||
@@ -32,5 +35,3 @@ const ApiTokenEmptyState = () => {
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ApiTokenEmptyState;
|
||||
|
||||
Reference in New Issue
Block a user