I've been recently using OneDrive and noticed that I have 2 of the same shortcuts on the left pane of File Explorer, which for me is quite irritating.
I am running Windows 11 Professional 23H2 Build 22631.4169 and have installed all the latest updates.
I have tried multiple troubleshooting methods;
Resetting OneDrive
Reinstalling OneDrive
Deleting the OneDrive folder from the User folder
Making the folder hidden
Configuring the Registry from various sources
Unlinking and re-linking the account to my computer
Note that reinstalling Windows is a last resort option and I would prefer to stay away from it as much as possible.