No files found.
; + } + return ( + <> + {tree.map((node) => ( +
+ {highlighted ? (
+
+ ) : (
+ {content}
+ )}
+
+ {content};
+ const body = rows.slice(1);
+
+ return (
+ | + {col} + | + ))} +
|---|
| + {row[j] ?? ""} + | + ))} +
+ {displayContent}
+
+ );
+}
+
+export function FileContentPanel({
+ fileContent,
+ contentLoading,
+}: {
+ fileContent: { content: string; path: string; size: number } | null;
+ contentLoading: boolean;
+}) {
+ if (contentLoading) {
+ return (
+ No files found.
; - } - return ( - <> - {tree.map((node) => ( -
- {highlighted ? (
-
- ) : (
- {content}
- )}
-
- {content};
- const body = rows.slice(1);
-
- return (
- | - {col} - | - ))} -
|---|
| - {row[j] ?? ""} - | - ))} -
- {displayContent}
-
- );
-}
-
-export function FileContentPanel({
- fileContent,
- contentLoading,
-}: {
- fileContent: { content: string; path: string; size: number } | null;
- contentLoading: boolean;
-}) {
- if (contentLoading) {
- return (
-