Getting this error on Strapi V5, while creating a single Type

```
TypeError: Cannot read properties of null (reading 'schema')
    at FormModalHeader (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-RVCNIWDA.js?v=d1aaf8ce:5468:50)
    at renderWithHooks (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:11568:26)
    at updateFunctionComponent (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:14602:28)
    at beginWork (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:15944:22)
    at beginWork$1 (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:19781:22)
    at performUnitOfWork (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:19226:20)
    at workLoopSync (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:19165:13)
    at renderRootSync (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:19144:15)
    at recoverFromConcurrentError (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:18764:28)
    at performSyncWorkOnRoot (http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-XWW2EOA5.js?v=d1aaf8ce:18907:28)
```
      