Fix the following React Review diagnostics in my codebase.
## Warnings (5)
1. [warning] button-has-type — packages/website/src/components/terminal.tsx:172
`<button>` elements must have an explicit `type` attribute.
2. [warning] button-has-type — packages/website/src/components/terminal.tsx:222
`<button>` elements must have an explicit `type` attribute.
3. [warning] no-initialize-state — packages/website/src/components/terminal.tsx:278
Avoid initializing state in an effect. Instead, initialize "state"'s `useState()` with "COMPLETED_STATE". For SSR hydration, prefer `useSyncExternalStore()`.
4. [warning] no-initialize-state — packages/website/src/components/terminal.tsx:327
Avoid initializing state in an effect. Instead, initialize "state"'s `useState()` with "undefined". For SSR hydration, prefer `useSyncExternalStore()`.
5. [warning] button-has-type — packages/website/src/components/terminal.tsx:409
`<button>` elements must have an explicit `type` attribute.
Copy as prompt
`<button>` elements must have an explicit `type` attribute. · 3 in 1 file
button-has-typepackages/website/src/components/terminal.tsxAvoid initializing state in an effect. Instead, initialize "state"'s `useState()` with "COMPLETED_STATE". For SSR hydration, prefer `useSyncExternalStore()`. · 2 in 1 file
no-initialize-statepackages/website/src/components/terminal.tsxReviewed by reactreview for commit 4e23e5d. Configure here.