Skip to content

Commit

Permalink
removed commas
Browse files Browse the repository at this point in the history
  • Loading branch information
anguyen-yext2 committed Jun 27, 2024
1 parent b847f79 commit 25d5fda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/GenerativeDirectAnswer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface GenerativeDirectAnswerProps {
/** The header for the citations section of the generative direct answer. */
citationsHeader?: string | JSX.Element,
/** The component for citation card */
CitationCard?: (props: CitationProps) => JSX.Element | null,
CitationCard?: (props: CitationProps) => JSX.Element | null
}

/**
Expand Down Expand Up @@ -103,8 +103,8 @@ export function GenerativeDirectAnswer({
<Citations
gdaResponse={gdaResponse}
cssClasses={cssClasses}
citationsHeader={citationsHeader}
searchResults={searchResults}
citationsHeader={citationsHeader}
CitationCard={CitationCard}
/>
</div>
Expand Down Expand Up @@ -194,7 +194,7 @@ export interface CitationProps {
function Citation(props: CitationProps) {
const {
searchResult,
cssClasses,
cssClasses
} = props;
return (
<a className={cssClasses.citation} href={typeof searchResult.rawData.link === 'string' ? searchResult.rawData.link : undefined}>
Expand Down

0 comments on commit 25d5fda

Please sign in to comment.