Skip to content

Commit 3d1994c

Browse files
committed
remove unused import
1 parent 71608ad commit 3d1994c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

packages/react-image-upload/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @fourcels/react-image-upload
22

3+
## 0.6.3
4+
5+
### Patch Changes
6+
7+
- remove unused import
8+
39
## 0.6.2
410

511
### Patch Changes

packages/react-image-upload/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fourcels/react-image-upload",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"type": "module",
55
"description": "A image upload component for React",
66
"main": "./dist/index.js",

packages/react-image-upload/src/Dropzone.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { DropzoneOptions, useDropzone } from "react-dropzone";
22
import clsx from "clsx";
33
import { forwardRef, useImperativeHandle } from "react";
4-
import { u } from "motion/react-client";
54

65
const PlusIcon = () => (
76
<svg

packages/react-image-upload/src/ImageUpload.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import "react-photo-view/dist/react-photo-view.css";
1515
import "./style.css";
1616
import { PhotoProviderProps } from "react-photo-view/dist/PhotoProvider";
1717
import { Dropzone } from "./Dropzone";
18-
import { image, use } from "motion/react-client";
1918

2019
const RemoveIcon = () => (
2120
<svg
@@ -60,7 +59,7 @@ type ValueItem = {
6059
type ValueType = string | ValueItem | (string | ValueItem)[];
6160

6261
type ImageItem = {
63-
id?: string;
62+
id: string;
6463
url?: string;
6564
name?: string;
6665
file?: File;

0 commit comments

Comments
 (0)