'use client'
'use client' is for use with React Server Components.
'use client' lets you mark what code runs on the client.
Reference
'use client'
Add 'use client' at the top of a file to mark the module and its transitive dependencies as client code.
```js {1}
'use client';
import { useState } from 'react';
import { formatDate } from './formatters';
import Button from './button';
export default function RichTextEditor({ timestamp, text }) {
const date = formatDate(timestamp);
// ...
const editButton =