+
+
+ {editable && }
+
+ {tile.title || 'Untitled tile'}
+
+ {result && (
+
+ {result.cached ? 'cached' : 'fresh'}
+
+ )}
+
+
+
+ query.refetch()}>
+
+
+
+ {editable && (
+
+
+
+
+
+ )}
+
+
+
+
+ {query.isLoading && (
+
+
+
+ )}
+ {query.isError && (
+
+ {(query.error as Error).message}
+
+ )}
+ {result && }
+
+
+ );
+}
+
+function TileBody({ result }: { result: TileRunResult }) {
+ if (result.rows.length === 0) {
+ return (
+