Skip to content

Commit 84e5082

Browse files
committed
remove runtime js
1 parent 13a0c18 commit 84e5082

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

docs/pages/index.js

+5-15
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,15 @@ import Layout from '../components/Layout'
33
import MarkdownSample from '../components/MarkdownSample.mdx'
44

55
export default () => {
6-
const [size, setSize] = useState('default')
7-
86
return (
97
<Layout meta={{ title: 'Tailwind CSS Typography' }}>
10-
<div className="fixed top-0 left-0 flex flex-col ml-3">
11-
{['sm', 'default', 'lg', 'xl', '2xl'].map((s) => (
12-
<button
13-
key={s}
14-
type="button"
15-
className={`border mt-3 px-4 focus:outline-none ${size === s ? 'border-black' : ''}`}
16-
onClick={() => setSize(s)}
17-
>
18-
{s}
19-
</button>
20-
))}
21-
</div>
22-
<div className={`prose prose-${size} mx-auto`}>
8+
<div className="prose mx-auto">
239
<MarkdownSample />
2410
</div>
2511
</Layout>
2612
)
2713
}
14+
15+
export const config = {
16+
unstable_runtimeJS: false
17+
}

0 commit comments

Comments
 (0)