We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883a3ad commit 8033762Copy full SHA for 8033762
frontend/src/app/collaboration/components/toolbar.tsx
@@ -28,7 +28,7 @@ type ThemeOption = {
28
label: string;
29
}
30
31
-export function Toolbar({ editor, language, saving, setLanguage, peerOnline, theme, setTheme }: Props) {
+export function Toolbar({ editor, language, saving, setLanguage, peerOnline, theme, setTheme }: Readonly<Props>) {
32
const languages: LanguageOption[] = [
33
{ value: 'javascript', label: 'JavaScript' },
34
{ value: 'python', label: 'Python' },
0 commit comments