Spaces:
Sleeping
Sleeping
returned 'Validating ...'
Browse files- src/App.js +15 -0
src/App.js
CHANGED
|
@@ -756,6 +756,21 @@ function App() {
|
|
| 756 |
disabled={loading}
|
| 757 |
rows="2"
|
| 758 |
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 759 |
</form>
|
| 760 |
</main>
|
| 761 |
{/* Right Sidebar - Direct Query Panel */}
|
|
|
|
| 756 |
disabled={loading}
|
| 757 |
rows="2"
|
| 758 |
/>
|
| 759 |
+
{loading && isValidating && (
|
| 760 |
+
<div style={{
|
| 761 |
+
display: 'flex',
|
| 762 |
+
alignItems: 'center',
|
| 763 |
+
gap: '8px',
|
| 764 |
+
marginLeft: '12px',
|
| 765 |
+
color: '#a0a0a0',
|
| 766 |
+
fontSize: '0.9em'
|
| 767 |
+
}}>
|
| 768 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" style={{ animation: "spin 1s linear infinite" }}>
|
| 769 |
+
<path d="M21 12a9 9 0 1 1-6.219-8.56"/>
|
| 770 |
+
</svg>
|
| 771 |
+
<span>Validating...</span>
|
| 772 |
+
</div>
|
| 773 |
+
)}
|
| 774 |
</form>
|
| 775 |
</main>
|
| 776 |
{/* Right Sidebar - Direct Query Panel */}
|