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:
sriram veeraghanta
2023-11-23 15:09:46 +05:30
parent d6abb87a3a
commit fa8ae6b8ce
47 changed files with 381 additions and 349 deletions

View File

@@ -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;