diff --git a/docs/FORMATS.md b/docs/FORMATS.md
index f66b75a..c9cc793 100644
--- a/docs/FORMATS.md
+++ b/docs/FORMATS.md
@@ -35,6 +35,7 @@ function App() {
const devices = useCameraDevices()
const device = devices.back
+ if (device == null) return
return (
return (