Skip to content

Commit bbc5609

Browse files
committed
imports, get correct readme
1 parent eb9b339 commit bbc5609

File tree

8 files changed

+35
-7
lines changed

8 files changed

+35
-7
lines changed

apps/web/src/components/tools/github/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function GithubReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('github').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/knock/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function KnockReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('knock').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/mailgun/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function MailgunReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('mailgun').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/pagerduty/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function PagerdutyReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('pagerduty').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/sentry/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function SentryReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('sentry').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/stripe/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function StripeReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('resend').then(setContent);
11+
getMarkdownContent('stripe').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/components/tools/vercel/readme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function VercelReadme() {
88
const [content, setContent] = useState('');
99

1010
useEffect(() => {
11-
getMarkdownContent('vercel_logs').then(setContent);
11+
getMarkdownContent('vercel').then(setContent);
1212
}, []);
1313

1414
return (

apps/web/src/lib/constants.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,34 @@ export const TOOL_IMPORTS = {
136136
Dashboard: dynamic(() => import('@/components/tools/vercel_logs/dashboard')),
137137
Readme: dynamic(() => import('@/components/tools/vercel_logs/readme')),
138138
},
139+
vercel: {
140+
Dashboard: dynamic(() => import('@/components/tools/vercel/dashboard')),
141+
Readme: dynamic(() => import('@/components/tools/vercel/readme')),
142+
},
143+
github: {
144+
Dashboard: dynamic(() => import('@/components/tools/github/dashboard')),
145+
Readme: dynamic(() => import('@/components/tools/github/readme')),
146+
},
147+
mailgun: {
148+
Dashboard: dynamic(() => import('@/components/tools/mailgun/dashboard')),
149+
Readme: dynamic(() => import('@/components/tools/mailgun/readme')),
150+
},
151+
stripe: {
152+
Dashboard: dynamic(() => import('@/components/tools/stripe/dashboard')),
153+
Readme: dynamic(() => import('@/components/tools/stripe/readme')),
154+
},
155+
sentry: {
156+
Dashboard: dynamic(() => import('@/components/tools/sentry/dashboard')),
157+
Readme: dynamic(() => import('@/components/tools/sentry/readme')),
158+
},
159+
knock: {
160+
Dashboard: dynamic(() => import('@/components/tools/knock/dashboard')),
161+
Readme: dynamic(() => import('@/components/tools/knock/readme')),
162+
},
163+
pagerduty: {
164+
Dashboard: dynamic(() => import('@/components/tools/pagerduty/dashboard')),
165+
Readme: dynamic(() => import('@/components/tools/pagerduty/readme')),
166+
},
139167
} as const;
140168

141169
export type ToolId = keyof typeof TOOL_IMPORTS;

0 commit comments

Comments
 (0)