mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
e9990a6a86
This moves the static indicator we added for the app router into the dev overlay so it can share the logic/be aware when either are showing to coordinate position. This also applies similar design to make the look more consistent as well. https://github.com/user-attachments/assets/bca899d4-0635-4868-8284-02f0cb4b5444 Closes: NDX-74
14 lines
169 B
JavaScript
14 lines
169 B
JavaScript
'use client'
|
|
|
|
export function Button() {
|
|
return (
|
|
<button
|
|
onClick={() => {
|
|
throw new Error('oof')
|
|
}}
|
|
>
|
|
click me!
|
|
</button>
|
|
)
|
|
}
|