diff --git a/packages/docs/content/docs/custom-icons.mdx b/packages/docs/content/docs/custom-icons.mdx
index 050b8395..e6c30f27 100644
--- a/packages/docs/content/docs/custom-icons.mdx
+++ b/packages/docs/content/docs/custom-icons.mdx
@@ -24,7 +24,7 @@ import { faHouse } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import CMS from '@staticcms/core';
-CMS.registerIcon('house', );
+CMS.registerIcon('house', () => );
```
## Usage