Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore(FileInput): format the source with the repository's Prettier settings (#9263)

Cindy Zhang8a03d75146f5
diff --git a/.changeset/fileinput-prettier-format.md b/.changeset/fileinput-prettier-format.md
new file mode 100644
index 0000000000..ac74b4d498
--- /dev/null
+++ b/.changeset/fileinput-prettier-format.md
@@ -0,0 +1,7 @@
+---
+'@astryxdesign/core': patch
+---
+
+[chore] FileInput's source is formatted with the repository's Prettier settings. No behavior changes.
+
+@cixzhang
diff --git a/packages/core/src/FileInput/FileInput.tsx b/packages/core/src/FileInput/FileInput.tsx
index cf66cde8ca..03fee9b3a9 100644
--- a/packages/core/src/FileInput/FileInput.tsx
+++ b/packages/core/src/FileInput/FileInput.tsx
@@ -594,9 +594,7 @@ export function FileInput({
}
}
const triggerDescribedBy =
- [callerDescribedBy, ariaDescribedBy]
- .filter(Boolean)
- .join(' ') || undefined;
+ [callerDescribedBy, ariaDescribedBy].filter(Boolean).join(' ') || undefined;
const defaultPlaceholder = isMultiple
? t('@astryx.fileInput.placeholderMultiple')