remove @types/react-datetime-picker

This commit is contained in:
Max Leiter 2022-03-30 20:03:57 -07:00
parent 9f810378f1
commit 93e8b7e1d9
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
5 changed files with 1 additions and 23 deletions

View file

@ -34,19 +34,6 @@
color: var(--fg);
}
/*
--bg: #131415;
--fg: #fafbfc;
--gray: #666;
--light-gray: #444;
--lighter-gray: #222;
--lightest-gray: #1a1a1a;
--article-color: #eaeaea;
--header-bg: rgba(19, 20, 21, 0.45);
--gray-alpha: rgba(255, 255, 255, 0.5);
--selection: rgba(255, 255, 255, 0.99);
*/
.primary {
background: var(--fg);
color: var(--bg);

View file

@ -67,7 +67,6 @@ const PostPage = ({ post }: Props) => {
<Header />
</Page.Header>
<Page.Content className={homeStyles.main}>
{/* {!isLoading && <PostFileExplorer files={post.files} />} */}
<div className={styles.header}>
<span className={styles.title}>
<Text h3>{post.title}</Text>

View file

@ -50,7 +50,6 @@
"@types/nprogress": "^0.2.0",
"@types/react": "17.0.39",
"@types/react-datepicker": "^4.3.4",
"@types/react-datetime-picker": "^3.4.1",
"@types/react-dom": "^17.0.14",
"@types/react-syntax-highlighter": "^13.5.2",
"eslint": "8.10.0",

View file

@ -10,7 +10,7 @@ const New = () => {
<Page className={styles.wrapper}>
<PageSeo title="Drift - New" />
<Head>
{/* <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/react-datepicker/4.7.0/react-datepicker.min.css" /> */}
{/* TODO: solve this. */}
{/* eslint-disable-next-line @next/next/no-css-tags */}
<link rel="stylesheet" href="/css/react-datepicker.css" />
</Head>

View file

@ -330,13 +330,6 @@
date-fns "^2.0.1"
react-popper "^2.2.5"
"@types/react-datetime-picker@^3.4.1":
version "3.4.1"
resolved "https://registry.yarnpkg.com/@types/react-datetime-picker/-/react-datetime-picker-3.4.1.tgz#8acbc3e6f4e69fac0f91be4e920c3efdc28f3ed7"
integrity sha512-JHqB74+8Zq6cY0PTJ6Wi5Pm6qkNUmooyFfW5SiknSY2xJG1UG8+ljyWTZAvgHvj0XpqcWCHqqYUPiAVagnf9Sg==
dependencies:
"@types/react" "*"
"@types/react-dom@^17.0.14":
version "17.0.14"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.14.tgz#c8f917156b652ddf807711f5becbd2ab018dea9f"