Skip to content

An opinionated toast component for React.

Fix loading icon bug (#295)

Emil Kowalski3f2162c91f69
diff --git a/src/styles.css b/src/styles.css
index 2c1a124..cd7797d 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -520,7 +520,6 @@ html[dir='rtl'],
.sonner-loading-bar:nth-child(1) {
animation-delay: -1.2s;
- /* Rotate trick to avoid adding an additional pixel in some sizes */
transform: rotate(0.0001deg) translate(146%);
}
diff --git a/website/src/components/Hero/index.tsx b/website/src/components/Hero/index.tsx
index 8af5ae8..2e9dbcc 100644
--- a/website/src/components/Hero/index.tsx
+++ b/website/src/components/Hero/index.tsx
@@ -18,7 +18,7 @@ export const Hero = () => {
data-primary=""
onClick={() => {
toast('Sonner', {
- description: 'An opinionated toast component for React.'
+ description: 'An opinionated toast component for React.',
});
}}
className={styles.button}