File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ jobs:
759759 - name : Install dependencies
760760 run : cd src/frontend && yarn install
761761 - name : Build frontend
762- run : cd src/frontend && yarn run compile && yarn run build
762+ run : cd src/frontend && yarn run compile && yarn run lib && yarn run build
763763 - name : Write version file - SHA
764764 run : cd src/backend/InvenTree/web/static/web/.vite && echo "$GITHUB_SHA" > sha.txt
765765 - name : Zip frontend
Original file line number Diff line number Diff line change 1- import { ApiEndpoints } from '@lib/enums/ApiEndpoints' ;
2- import { apiUrl } from '@lib/functions/Api' ;
31import { useDocumentVisibility } from '@mantine/hooks' ;
42import { notifications , showNotification } from '@mantine/notifications' ;
53import {
@@ -10,7 +8,8 @@ import {
108import { type QueryClient , useQuery } from '@tanstack/react-query' ;
119import type { AxiosInstance } from 'axios' ;
1210import { useEffect , useState } from 'react' ;
13- import { queryClient } from '../../src/App' ;
11+ import { ApiEndpoints } from '../enums/ApiEndpoints' ;
12+ import { apiUrl } from '../functions/Api' ;
1413
1514export type MonitorBackgroundTaskProps = {
1615 api : AxiosInstance ;
@@ -114,6 +113,6 @@ export default function useMonitorBackgroundTask(
114113 } ) ;
115114 } )
116115 } ,
117- queryClient
116+ props . queryClient
118117 ) ;
119118}
You can’t perform that action at this time.
0 commit comments