Skip to content

Commit f2a11d0

Browse files
authored
Steingify if needed
1 parent 6eae713 commit f2a11d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/react/StorageConflictModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default () => {
1717
if (!isModalActive/* || conflicts.length === 0 */) return null
1818

1919
const clampText = (text: string) => {
20+
if (typeof text !== "string") text = JSON.stringify(text)
2021
return text.length > 30 ? text.slice(0, 30) + '...' : text
2122
}
2223

0 commit comments

Comments
 (0)