Spaces:
Sleeping
Sleeping
bigwolfe
commited on
Commit
·
24137a8
1
Parent(s):
531624f
Update ChatGPT widget components
Browse files
frontend/src/components/SearchWidget.tsx
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
-
import React from 'react';
|
| 2 |
import { ScrollArea } from '@/components/ui/scroll-area';
|
| 3 |
-
import { Button } from '@/components/ui/button';
|
| 4 |
import { Search } from 'lucide-react';
|
| 5 |
import type { SearchResult } from '@/types/search';
|
| 6 |
|
|
|
|
|
|
|
| 1 |
import { ScrollArea } from '@/components/ui/scroll-area';
|
|
|
|
| 2 |
import { Search } from 'lucide-react';
|
| 3 |
import type { SearchResult } from '@/types/search';
|
| 4 |
|
frontend/src/widget.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import React, { useEffect, useState, Component, ErrorInfo } from 'react';
|
| 2 |
import ReactDOM from 'react-dom/client';
|
| 3 |
import './index.css';
|
| 4 |
import { NoteViewer } from '@/components/NoteViewer';
|
|
|
|
| 1 |
+
import React, { useEffect, useState, Component, type ErrorInfo } from 'react';
|
| 2 |
import ReactDOM from 'react-dom/client';
|
| 3 |
import './index.css';
|
| 4 |
import { NoteViewer } from '@/components/NoteViewer';
|