Skip to content

Commit f4a2839

Browse files
committed
Fix Citation close button
1 parent 967cc01 commit f4a2839

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sparkle/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sparkle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dust-tt/sparkle",
3-
"version": "0.2.368",
3+
"version": "0.2.369",
44
"scripts": {
55
"build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs",
66
"tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css",

sparkle/src/components/Citation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ const Citation = React.forwardRef<HTMLDivElement, CitationProps>(
3838

3939
const contentWithDescription = (
4040
<>
41-
{!hasDescription && <CitationDescription>&nbsp;</CitationDescription>}
4241
{children}
42+
{!hasDescription && <CitationDescription>&nbsp;</CitationDescription>}
4343
</>
4444
);
4545
const cardButton = (

0 commit comments

Comments
 (0)