Skip to content

Commit a229926

Browse files
committed
fix: clean page.tsx
1 parent 4dab33d commit a229926

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

apps/www/app/docs/@details/[name]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default async function HookPage({
131131
const hookDoc = await getHookDoc(name);
132132

133133
return (
134-
<div className="pb-20 space-y-10 px-20 container mx-auto max-w-4xl">
134+
<div className="pb-20 space-y-10 px-20 max-w-4xl">
135135
<h1 className="text-4xl font-bold mb-2">{hook.title}</h1>
136136
<span className="inline-block bg-gray-200 dark:bg-slate-700 text-sm px-2 py-1 rounded mb-8">
137137
{hook.category}

apps/www/app/docs/@details/cli/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function Step({
6060

6161
export default function CliPage() {
6262
return (
63-
<div className="pb-20 space-y-10 px-20 container mx-auto max-w-4xl">
63+
<div className="pb-20 space-y-10 px-20 max-w-4xl">
6464
<div className="space-y-4">
6565
<h1 className="scroll-m-20 text-4xl font-bold tracking-tight">CLI</h1>
6666
<p className="text-xl text-muted-foreground">

apps/www/app/docs/@details/introduction/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Terminal({
4141

4242
export default function IntroductionPage() {
4343
return (
44-
<div className="pb-20 space-y-10 px-20 container mx-auto max-w-4xl">
44+
<div className="pb-20 space-y-10 px-20 max-w-4xl">
4545
<div className="space-y-4">
4646
<h1 className="scroll-m-20 text-4xl font-bold tracking-tight">
4747
Introduction

apps/www/app/docs/@details/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default async function HooksPage() {
44
const hooks = await getHooks();
55

66
return (
7-
<div className="pb-20 px-20">
7+
<div className="pb-20 px-20 max-w-4xl">
88
<h1 className="text-4xl font-bold mb-6">React Hooks Collection</h1>
99
<p className="text-lg text-gray-600 mb-8">
1010
A comprehensive collection of {hooks.length} custom React hooks to

0 commit comments

Comments
 (0)