Respond to review feedback

This commit is contained in:
Robin Townsend
2023-07-21 00:00:04 -04:00
parent 922d66d66b
commit 8903930d56

View File

@@ -261,14 +261,11 @@ export const SettingsModal = (props: Props) => {
</TabItem> </TabItem>
); );
const tabs = [ const tabs: JSX.Element[] = [];
audioTab, tabs.push(audioTab, videoTab);
videoTab, if (!isEmbedded) tabs.push(profileTab);
...(isEmbedded ? [] : [profileTab]), tabs.push(feedbackTab, moreTab);
feedbackTab, if (developerSettingsTab) tabs.push(developerTab);
moreTab,
...(developerSettingsTab ? [developerTab] : []),
];
return ( return (
<Modal <Modal