Loading...
+ + } + > ++ {meta.description} +
++ No connectors available. +
+ ); +} diff --git a/components/ConnectorsPage/ConnectorsErrorBanner.tsx b/components/ConnectorsPage/ConnectorsErrorBanner.tsx new file mode 100644 index 000000000..c8d07ec96 --- /dev/null +++ b/components/ConnectorsPage/ConnectorsErrorBanner.tsx @@ -0,0 +1,13 @@ +interface ConnectorsErrorBannerProps { + error: string | null; +} + +export function ConnectorsErrorBanner({ error }: ConnectorsErrorBannerProps) { + if (!error) return null; + + return ( ++ Connect your tools to enable AI-powered automation +
++ Please sign in to manage connectors. +
+{description}
++ Connect your {displayName} account to enable this connector. +
+ + + {getIcon("h-4 w-4")} + Connect {displayName} + + ++ You'll be redirected to authorize access. Link expires in 10 + minutes. +
++ Your {displayName} account is connected and ready to use. +
+- Connect your Google Sheets account to enable reading and writing to - spreadsheets. -
- - {accountId &&- You'll be redirected to Google to authorize access to your Google - Sheets for this account. -
-