Skip to content
Snippets Groups Projects
Verified Commit c7e9326a authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Add doc.

parent bc556f28
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!67Insert a reservation and search by senior.
...@@ -4,7 +4,7 @@ import { useCallback, useEffect, useState } from 'react'; ...@@ -4,7 +4,7 @@ import { useCallback, useEffect, useState } from 'react';
/** /**
* Custom hook that return csrf cookie fetched from server. * Custom hook that return csrf cookie fetched from server.
* *
* @return cookie * @return {string} cookie.
*/ */
export const useCookie = (): string => { export const useCookie = (): string => {
const [cookie, setCookie] = useState(''); const [cookie, setCookie] = useState('');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment