setting pilot page behind protected route (#44)

This commit was merged in pull request #44.
This commit is contained in:
2025-02-19 02:09:18 +00:00
committed by GitHub
parent c19b8aa855
commit de100baa1a
4 changed files with 46 additions and 55 deletions

View File

@@ -32,7 +32,7 @@ const Logbook: React.FC<unknown> = () => {
dispatch({ type: 'SET_IS_LOADING', payload: true });
const response: AxiosResponse = await httpClient.get(`api/logs`);
console.log(response)
if (response.data.length > 0) {
dispatch({ type: 'SET_ENTRIES', payload: response.data });