Skip to content

An opinionated toast component for React.

Update docs repo base url (#162)

Emil Kowalskib80b63725f0b
diff --git a/package.json b/package.json
index 8cfb134..19f1816 100644
--- a/package.json
+++ b/package.json
@@ -3,14 +3,9 @@
"version": "1.0.3",
"description": "An opinionated toast component for React.",
"exports": {
- "import": {
- "default": "./dist/index.mjs",
- "types": "./dist/index.d.ts"
- },
- "require": {
- "default": "./dist/index.js",
- "types": "./dist/index.d.ts"
- }
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"files": [
diff --git a/website/theme.config.jsx b/website/theme.config.jsx
index 0822846..4028020 100644
--- a/website/theme.config.jsx
+++ b/website/theme.config.jsx
@@ -3,7 +3,7 @@ export default {
project: {
link: 'https://github.com/emilkowalski/sonner',
},
- docsRepositoryBase: 'https://github.com/emilkowalski/sonner',
+ docsRepositoryBase: 'https://github.com/emilkowalski/sonner/tree/main/website',
useNextSeoProps() {
return {
titleTemplate: '%s – Sonner',