@Abhishek Negi - Recommended option is to build Tab as mentioned here. Please try with this once.
Build Microsoft Teams tab using SharePoint Framework - Tutorial | Microsoft Learn
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Below is the screen shot of Microsoft teams web browser version
Problem occurring (web part not loading) when opening this same teams tab in the Microsoft teams desktop application .
I have used Graph API to fetch data in SPFX web part and publish this webpage into share point site and link of the page is embedded into teams website tab
@Abhishek Negi - Recommended option is to build Tab as mentioned here. Please try with this once.
Build Microsoft Teams tab using SharePoint Framework - Tutorial | Microsoft Learn