Skip to content

Commit

Permalink
remove unused EnrollLink component
Browse files Browse the repository at this point in the history
  • Loading branch information
teallarson committed Jan 13, 2023
1 parent dc80fd1 commit 810cc17
Showing 1 changed file with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { PropsWithChildren } from "react";
import React from "react";
import { FormattedMessage } from "react-intl";

import { Button } from "components/ui/Button";
Expand All @@ -10,23 +10,6 @@ import { Text } from "components/ui/Text";
import { ReactComponent as ConnectorsBadges } from "./connectors-badges.svg";
import styles from "./LargeEnrollmentCallout.module.scss";

export const EnrollLink: React.FC<PropsWithChildren<unknown>> = ({ children }) => {
const onEnrollClick = () => {
return null;
};

return (
<span
role="button"
onClick={() => onEnrollClick()}
onKeyDown={(e) => e.keyCode === 13 && onEnrollClick()}
tabIndex={0}
className={styles.enrollLink}
>
{children}
</span>
);
};
export const LargeEnrollmentCallout: React.FC = () => {
return (
<Callout variant="boldInfo" className={styles.container}>
Expand Down

0 comments on commit 810cc17

Please sign in to comment.