diff --git a/src/components/Welcome.tsx b/src/components/Welcome.tsx index 6b665d1..fbbd170 100644 --- a/src/components/Welcome.tsx +++ b/src/components/Welcome.tsx @@ -53,7 +53,6 @@ const supportedProviders: Record = { reddit: , // instagram: , slack: , - // spectrum: , heroku: , now: , netlify: , diff --git a/src/components/cards/index.tsx b/src/components/cards/index.tsx index ad574d7..bc812a2 100644 --- a/src/components/cards/index.tsx +++ b/src/components/cards/index.tsx @@ -27,7 +27,6 @@ import PypiCard from './providers/PyPI'; import RubyGemsCard from './providers/RubyGems'; import S3Card from './providers/S3'; import SlackCard from './providers/Slack'; -// import SpectrumCard from './providers/Spectrum'; import SubredditCard from './providers/Subreddit'; import TwitterCard from './providers/Twitter'; import VercelCard from './providers/Vercel'; @@ -61,7 +60,6 @@ const Index: React.FC<{ query: string }> = ({ query }) => { {/* */} - {/* */} diff --git a/src/components/cards/providers/Spectrum.tsx b/src/components/cards/providers/Spectrum.tsx deleted file mode 100644 index c89aef2..0000000 --- a/src/components/cards/providers/Spectrum.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; -import { useTranslation } from 'react-i18next'; -import { Card, Repeater, DedicatedAvailability } from '../core'; -import { SpectrumIcon } from '../../Icons'; -import { normalize } from '../../../util/text'; - -const SpectrumCard: React.FC<{ query: string }> = ({ query }) => { - const { t } = useTranslation(); - const normalizedQuery = normalize(query); - const names = [normalizedQuery]; - - return ( - - - {(name) => ( - <> - } - /> - - )} - - - ); -}; - -export default SpectrumCard; diff --git a/src/util/i18n.ts b/src/util/i18n.ts index 9293423..68cb83c 100644 --- a/src/util/i18n.ts +++ b/src/util/i18n.ts @@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend'; import LanguageDetector from 'i18next-browser-languagedetector'; import { initReactI18next } from 'react-i18next'; -const TRANSLATION_VERSION = '12'; +const TRANSLATION_VERSION = '13'; i18n .use(Backend)