From b7a7da8621f4f8fd1e053eab46c3dabbb1b5d37e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi <256895@studenti.unimore.it> Date: Tue, 11 May 2021 17:21:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=94=20Documentation=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/frontend/src/hooks/useBackend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frontend/src/hooks/useBackend.js b/code/frontend/src/hooks/useBackend.js index 0bac108..d9bfb00 100644 --- a/code/frontend/src/hooks/useBackend.js +++ b/code/frontend/src/hooks/useBackend.js @@ -4,7 +4,7 @@ import { useCallback, useState } from "react" /** * Hook which fetches data from the backend on the first render of a component. * - * @param fetchData - The function to use when fetching data. + * @param fetchData - The function to use when fetching data, usually created by GlobalServer or GlobalUser. * @param method - The HTTP method to use. * @param path - The HTTP path to fetch the data at. * @param body - The body of the HTTP request (it will be JSONified before being sent).