diff --git a/site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPage.tsx b/site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPage.tsx index 6e2035f2f9107..4d81d7dfb5f13 100644 --- a/site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPage.tsx +++ b/site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPage.tsx @@ -18,6 +18,7 @@ const OAuth2AppsSettingsPage: FC = () => { = ({ apps, isEntitled, isLoading, + error, }) => { return ( <> @@ -62,6 +65,8 @@ const OAuth2AppsSettingsPageView: FC = ({ + {error && } + @@ -72,9 +77,8 @@ const OAuth2AppsSettingsPageView: FC = ({ {isLoading && } - {!isLoading && - apps?.map((app) => )} - {!isLoading && (!apps || apps?.length === 0) && ( + {apps?.map((app) => )} + {apps?.length === 0 && (