fix formatting
This commit is contained in:
parent
7301fd8a44
commit
ad372e7f47
1 changed files with 279 additions and 284 deletions
|
|
@ -33,14 +33,9 @@ import { useDeleteDocument } from "../api/mutations/useDeleteDocument";
|
||||||
|
|
||||||
// Function to get the appropriate icon for a connector type
|
// Function to get the appropriate icon for a connector type
|
||||||
function getSourceIcon(connectorType?: string) {
|
function getSourceIcon(connectorType?: string) {
|
||||||
|
|
||||||
switch (connectorType) {
|
switch (connectorType) {
|
||||||
case "url":
|
case "url":
|
||||||
return (
|
return <Globe className="h-4 w-4 text-muted-foreground flex-shrink-0" />;
|
||||||
<Globe
|
|
||||||
className="h-4 w-4 text-muted-foreground flex-shrink-0"
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
case "google_drive":
|
case "google_drive":
|
||||||
return (
|
return (
|
||||||
<SiGoogledrive className="h-4 w-4 text-foreground flex-shrink-0" />
|
<SiGoogledrive className="h-4 w-4 text-foreground flex-shrink-0" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue