diff --git a/errors/custom-document-image-import.md b/errors/custom-document-image-import.md
index 64ff9af1e8fb6..c8970f2b91b1e 100644
--- a/errors/custom-document-image-import.md
+++ b/errors/custom-document-image-import.md
@@ -14,8 +14,8 @@ If your image needs to be displayed on every page you can relocate it to your [`
```jsx
//pages/_app.js
-import yourImage from "path/to/your/image"
-import Image from "next/image"
+import yourImage from 'path/to/your/image'
+import Image from 'next/image'
function MyApp({ Component, pageProps }) {
return (
@@ -23,6 +23,7 @@ function MyApp({ Component, pageProps }) {
>
+ )
}
export default MyApp