Skip to content

Commit

Permalink
fix: rm unused
Browse files Browse the repository at this point in the history
  • Loading branch information
imsergiy committed Aug 20, 2021
1 parent fa03f4f commit 4041783
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions packages/showcases/src/components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,7 @@ const Dropdown = ({
);
};

const FilePreview = ({
file,
small,
remove,
}: {
file: File;
small?: boolean;
remove?: () => void;
}) => {
const FilePreview = ({ file, remove }: { file: File; remove?: () => void }) => {
const [src, setSrc] = useState("");

useEffect(() => {
Expand Down Expand Up @@ -270,8 +262,7 @@ export const SearchBar = () => {
const [files, setFiles] = useState<File[]>([]);

function search() {
const text = inputRef.current?.value;

alert("search");
}

const addFiles = useCallback((files: File[]) => {
Expand Down

0 comments on commit 4041783

Please sign in to comment.