Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dschlabach committed Nov 25, 2024
1 parent 2062fd6 commit 571ba7f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions apps/base-docs/src/components/Hero/HeroButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import React, { useCallback } from "react";
import React, { useCallback } from 'react';

import logEvent from "base-ui/utils/logEvent";
import logEvent from 'base-ui/utils/logEvent';

import { heroEvent } from "../heroEvent";
import styles from "./styles.module.css";
import { heroEvent } from '../heroEvent';
import styles from './styles.module.css';

export default function HeroButton() {
const handleClick = useCallback(() => {
logEvent(heroEvent.name, heroEvent.event, heroEvent.importance);
}, [logEvent, heroEvent]);
const handleClick = useCallback(() => {
logEvent(heroEvent.name, heroEvent.event, heroEvent.importance);
}, [logEvent, heroEvent]);

return (
<a
href="https://base.org/build/?utm_source=basedocs&utm_medium=hero"
className={styles.cta}
target="_blank"
rel="noreferrer noopener"
>
<button className={styles.ctaButton} type="button" onClick={handleClick}>
Get Started
</button>
</a>
);
return (
<a
href="https://base.org/build/?utm_source=basedocs&utm_medium=hero"
className={styles.cta}
target="_blank"
rel="noreferrer noopener"
>
<button className={styles.ctaButton} type="button" onClick={handleClick}>
Get Started
</button>
</a>
);
}

0 comments on commit 571ba7f

Please sign in to comment.