To restore your Gmail inbox layout, go to Settings (gear icon) and select ‘See all settings.’ Under the ‘Inbox’ tab, choose your preferred inbox type (Default, Important first, Unread first, etc.).
https://www.justanswer.com/computer/tlfr6-restore-gmail-inbox-primary-social-tabs.html