Skip to content

Commit

Permalink
fix: correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Dec 6, 2022
1 parent 5bb10ad commit 6efebd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-uploader/src/Uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const UploaderComponentContext = createContext<UploaderComponentContextValue>([
}
])

export type HeadlessUploaderProps = {
export type UploaderComponentProps = {
children?: JSX.Element,
}

Expand All @@ -69,7 +69,7 @@ export type HeadlessUploaderProps = {
*/
export const Uploader = ({
children,
}: HeadlessUploaderProps) => {
}: UploaderComponentProps) => {
const [uploaderState, uploaderActions] = useUploader()
const [file, setFile] = useState<File>()
const [dataCid, setDataCid] = useState<Link<unknown, number, number, Version>>()
Expand Down

0 comments on commit 6efebd7

Please sign in to comment.