From 8fa1802555b7e5fe92fa6db41c13360b6bf03824 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sat, 16 Jul 2022 23:56:24 +0800 Subject: [PATCH] chore: remove unused Gitee components --- src/platforms/Gitee/components.tsx | 47 ------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 src/platforms/Gitee/components.tsx diff --git a/src/platforms/Gitee/components.tsx b/src/platforms/Gitee/components.tsx deleted file mode 100644 index bd4472a..0000000 --- a/src/platforms/Gitee/components.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import { GITEE_OAUTH } from 'env' -import * as React from 'react' - -export function GiteeAccessDeniedError({ hasToken }: { hasToken: boolean }) { - return ( -
-
Access Denied
- {hasToken ? ( - <> -

- Current access token is either invalid or not granted with permissions to access this - project. -

-

- You can grant or request access{' '} - - here - {' '} - if you setup Gitako with OAuth. -

- - ) : ( -

- Gitako needs access token to read this project due to{' '} - - GitHub rate limiting - {' '} - and{' '} - - auth needs - - . Please setup access token in the settings panel below. -

- )} -
- ) -}