Upgrade Prettier to v3.3 (#19756)

GitOrigin-RevId: 86d628d8c2fe55e3b2e4867a8e1f29876d38feab
This commit is contained in:
Alf Eaton
2024-08-02 08:06:02 +00:00
committed by Copybot
parent 5c574835c4
commit 529555869a
8 changed files with 14 additions and 14 deletions
@@ -538,7 +538,7 @@ export const EditorManagerProvider: FC = ({ children }) => {
if (docError) {
const { doc, document, error, meta } = docError
let { editorContent } = docError
const message = typeof error === 'string' ? error : error?.message ?? ''
const message = typeof error === 'string' ? error : (error?.message ?? '')
// Clear document error so that it's only handled once
setDocError(null)