mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
0.12.5
This commit is contained in:
parent
e5b919af6a
commit
cd54429034
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"private": false,
|
||||
"name": "bluelib",
|
||||
"version": "0.12.4",
|
||||
"version": "0.12.5",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"source": "src/index.js",
|
||||
"main": "dist/index.js",
|
||||
|
|
|
@ -30,7 +30,7 @@ export default function(method, path, body) {
|
|||
let abort = new AbortController();
|
||||
setInstanceTesterAbort(abort);
|
||||
|
||||
royalnetApiRequest(instanceUrl, method, path, body, abort).then(d => setData(d)).catch((e => setError(e)));
|
||||
royalnetApiRequest(instanceUrl, method, path, body, abort.signal).then(d => setData(d)).catch((e => setError(e)));
|
||||
}
|
||||
|
||||
useDeepCompareEffect(() => {
|
||||
|
|
Loading…
Reference in a new issue