remove @types/react-datetime-picker
This commit is contained in:
parent
9f810378f1
commit
93e8b7e1d9
5 changed files with 1 additions and 23 deletions
|
@ -34,19 +34,6 @@
|
||||||
color: var(--fg);
|
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 {
|
.primary {
|
||||||
background: var(--fg);
|
background: var(--fg);
|
||||||
color: var(--bg);
|
color: var(--bg);
|
||||||
|
|
|
@ -67,7 +67,6 @@ const PostPage = ({ post }: Props) => {
|
||||||
<Header />
|
<Header />
|
||||||
</Page.Header>
|
</Page.Header>
|
||||||
<Page.Content className={homeStyles.main}>
|
<Page.Content className={homeStyles.main}>
|
||||||
{/* {!isLoading && <PostFileExplorer files={post.files} />} */}
|
|
||||||
<div className={styles.header}>
|
<div className={styles.header}>
|
||||||
<span className={styles.title}>
|
<span className={styles.title}>
|
||||||
<Text h3>{post.title}</Text>
|
<Text h3>{post.title}</Text>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
"@types/react": "17.0.39",
|
"@types/react": "17.0.39",
|
||||||
"@types/react-datepicker": "^4.3.4",
|
"@types/react-datepicker": "^4.3.4",
|
||||||
"@types/react-datetime-picker": "^3.4.1",
|
|
||||||
"@types/react-dom": "^17.0.14",
|
"@types/react-dom": "^17.0.14",
|
||||||
"@types/react-syntax-highlighter": "^13.5.2",
|
"@types/react-syntax-highlighter": "^13.5.2",
|
||||||
"eslint": "8.10.0",
|
"eslint": "8.10.0",
|
||||||
|
|
|
@ -10,7 +10,7 @@ const New = () => {
|
||||||
<Page className={styles.wrapper}>
|
<Page className={styles.wrapper}>
|
||||||
<PageSeo title="Drift - New" />
|
<PageSeo title="Drift - New" />
|
||||||
<Head>
|
<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 */}
|
{/* eslint-disable-next-line @next/next/no-css-tags */}
|
||||||
<link rel="stylesheet" href="/css/react-datepicker.css" />
|
<link rel="stylesheet" href="/css/react-datepicker.css" />
|
||||||
</Head>
|
</Head>
|
||||||
|
|
|
@ -330,13 +330,6 @@
|
||||||
date-fns "^2.0.1"
|
date-fns "^2.0.1"
|
||||||
react-popper "^2.2.5"
|
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":
|
"@types/react-dom@^17.0.14":
|
||||||
version "17.0.14"
|
version "17.0.14"
|
||||||
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.14.tgz#c8f917156b652ddf807711f5becbd2ab018dea9f"
|
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.14.tgz#c8f917156b652ddf807711f5becbd2ab018dea9f"
|
||||||
|
|
Loading…
Reference in a new issue