1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00
This commit is contained in:
Steffo 2020-06-23 23:20:35 +02:00
parent e5b919af6a
commit cd54429034
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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(() => {