Cannot read properties of null (reading 'schema')
When trying to create new single type
```
TypeError: Cannot read properties of null (reading 'schema')
    at FormModalHeader (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-SBDGPYMI.js?v=e79ceaa3:5227:50)
    at renderWithHooks (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:11548:26)
    at updateFunctionComponent (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:14582:28)
    at beginWork (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:15924:22)
    at beginWork$1 (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:19753:22)
    at performUnitOfWork (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:19198:20)
    at workLoopSync (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:19137:13)
    at renderRootSync (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:19116:15)
    at recoverFromConcurrentError (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:18736:28)
    at performSyncWorkOnRoot (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-FOD4ENRR.js?v=e79ceaa3:18879:28)
```
      