Skip to content

Commit 0f89f47

Browse files
authored
Merge pull request #11 from sauravhathi/dev
Dev
2 parents d4e2e40 + d6c0e0f commit 0f89f47

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const { repoFiles, error, log, fetchRepositoryContents, useGitHubFolderDownload,
3232

3333
```javascript
3434
import React, { FC, useState } from 'react';
35-
import useGitHubFolderTree from './hooks/useGitHubFolderTree';
35+
import { useGitHubFolderTree } from 'github-folder-tree';
3636

3737
const MyComponent = () => {
3838
const [folderUrl, setFolderUrl] = useState('');

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-folder-tree",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "github-folder-tree is a React custom hook that allows you to fetch and process the contents of a GitHub folder. It retrieves information about the files and subfolders in the specified folder, including their names, file types, download URLs, SHA hashes, sizes, and paths.",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
@@ -54,4 +54,4 @@
5454
"file-saver": "^2.0.5",
5555
"jszip": "^3.10.1"
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)