Skip to content

Commit

Permalink
chore: spelling and lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel-Develops committed Jan 29, 2025
1 parent 53d8e05 commit e74ca6c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/components/footer/FooterAbout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export interface FooterAboutProps
}

const FooterAbout = (props: React.PropsWithChildren<FooterAboutProps>) => {
const { className, children, entityLink, entityName, entityText, ...rest } = props;
const { className, children, entityLink, entityName, entityText, ...rest } =
props;
if (children) {
<div {...rest} className={className}>
{props.children}
Expand Down
13 changes: 10 additions & 3 deletions src/components/footer/FooterFeedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ import clsx from "clsx";
export interface FooterFeedbackProps
extends FooterPartsPrimitiveProps<HTMLDivElement> {
feedbackLink: string;
enitityText?: string;
entityText?: string;
entityCtaText?: string;
}

const FooterFeedback = (
props: React.PropsWithChildren<FooterFeedbackProps>,
) => {
const { className, children, feedbackLink, enitityText="We'd love to hear your feedback on this project?", entityCtaText="Give feedback", ...rest } = props;
const {
className,
children,
feedbackLink,
entityText = "We'd love to hear your feedback on this project?",
entityCtaText = "Give feedback",
...rest
} = props;
if (children) {
<div {...rest} className={props.className}>
{props.children}
Expand All @@ -29,7 +36,7 @@ const FooterFeedback = (
),
)}
>
<span>{enitityText}</span>
<span>{entityText}</span>
<a
href={feedbackLink}
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion src/components/footer/FooterPublic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const FooterPublic = ({
)}
{...rest}
>
{entityText}
{entityText}
</a>
);
};
Expand Down

0 comments on commit e74ca6c

Please sign in to comment.