Sometimes Intellij is unable to load modules and also won't provide option to maven reload then you have to manually add project as module.
Go to Project Structure -> Click on Module then add a module and choose the external source such as maven, gradle or antd