- {isLoading ? (
- "Loading…"
- ) : error ? (
- error.message
- ) : (
-
+ {isLoading ? (
+ "Loading…"
+ ) : error ? (
+ error.message
+ ) : (
+
+ }>
+ Sources
+
+ }
>
- }>
- Sources
-
- }
- >
-
- {(sources ?? [])
- .sort((a, b) => a.name.localeCompare(b.name))
- .map((source) => (
- ,
- key: "edit",
- },
- {
- content: ,
- key: "remove",
- },
- ]}
- color={["gray-s1", "gray-t1"]}
- title="Edit"
- />
- }
- config={source}
- key={source.id}
- />
- ))}
-
-
-
-
- )}
-