) => {
- if (event.key === 'Enter') {
- props.onSubmit(secretCode);
- }
- };
-
- const handleSubmit = () => {
- props.onSubmit(secretCode);
- };
-
- return (
-
- }
- value={secretCode}
- placeholder="Super secret code..."
- onChange={handleChange}
- onKeyDown={handleKeyPress}
- />
-
- 0}>
-
-
-
- );
-};
diff --git a/src/design-system/molecules/preauth-secret-code/index.ts b/src/design-system/molecules/preauth-secret-code/index.ts
deleted file mode 100644
index faee937..0000000
--- a/src/design-system/molecules/preauth-secret-code/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './PreauthSecretCode';
diff --git a/src/design-system/organisms/preauth/Preauth.tsx b/src/design-system/organisms/preauth/Preauth.tsx
index e415b38..cf412e7 100644
--- a/src/design-system/organisms/preauth/Preauth.tsx
+++ b/src/design-system/organisms/preauth/Preauth.tsx
@@ -3,9 +3,7 @@ import * as React from 'react';
import { FaDiscord } from 'react-icons/fa';
import { GuildSlug } from 'roleypoly/common/types';
import { Button } from 'roleypoly/design-system/atoms/button';
-import { Space } from 'roleypoly/design-system/atoms/space';
import { PreauthGreeting } from 'roleypoly/design-system/molecules/preauth-greeting';
-import { PreauthSecretCode } from 'roleypoly/design-system/molecules/preauth-secret-code';
import styled from 'styled-components';
export type PreauthProps = {
@@ -48,14 +46,6 @@ export const Preauth = (props: PreauthProps) => {
-
-
-
- Or, send a message saying "login" to{' '}
- {props.botName || 'roleypoly'}
-
-
-
);
};