fix: remove error message display for Google Drive and OneDrive authentication issues; add toast notifications for picker errors

This commit is contained in:
Anish Sarkar 2026-03-28 23:57:57 +05:30
parent ea218b7be6
commit 101e426792
4 changed files with 7 additions and 5 deletions

View file

@ -242,8 +242,6 @@ export const GoogleDriveConfig: FC<ConnectorConfigProps> = ({ connector, onConfi
{totalSelected > 0 ? "Change Selection" : "Select from Google Drive"}
</Button>
{pickerError && !isAuthExpired && <p className="text-xs text-destructive">{pickerError}</p>}
{isAuthExpired && (
<p className="text-xs text-amber-600 dark:text-amber-500">
Your Google Drive authentication has expired. Please re-authenticate using the button

View file

@ -220,8 +220,6 @@ export const OneDriveConfig: FC<ConnectorConfigProps> = ({ connector, onConfigCh
{totalSelected > 0 ? "Change Selection" : "Select from OneDrive"}
</Button>
{pickerError && !isAuthExpired && <p className="text-xs text-destructive">{pickerError}</p>}
{isAuthExpired && (
<p className="text-xs text-amber-600 dark:text-amber-500">
Your OneDrive authentication has expired. Please re-authenticate using the button