diff --git a/client/components/auth/index.tsx b/client/components/auth/index.tsx index 80184e79..35cc86e3 100644 --- a/client/components/auth/index.tsx +++ b/client/components/auth/index.tsx @@ -1,5 +1,5 @@ import { FormEvent, useState } from 'react' -import { Button, Card, Input, Text } from '@geist-ui/core' +import { Button, Card, Input, Link, Text } from '@geist-ui/core' import styles from './auth.module.css' import { useRouter } from 'next/router' @@ -85,8 +85,8 @@ const Auth = ({ page }: { page: "signup" | "signin" }) => {
- {signingIn && Don't have an account? Sign up} - {!signingIn && Already have an account? Sign in} + {signingIn && Don't have an account? Sign up} + {!signingIn && Already have an account? Sign in}
{error && {error}} diff --git a/client/lib/worker.ts b/client/lib/worker.ts deleted file mode 100644 index e84db065..00000000 --- a/client/lib/worker.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { expose } from "comlink"; - -async function RemarkPipeline(disallowedElements, markdown) { - const markdownConverter = RemarkParseRemark() - .use([ - RemarkParse, - ...remarkPlugins, - [ - RehypeUnwrap, - { disallowedElements: disallowedElements, unwrapDisallowed: true }, - ], - ]) - .freeze(); - const parsed = markdownConverter.parse(markdown); - const transformed = await markdownConverter.run(parsed); - return transformed; -} - -expose(RemarkPipeline);