mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Prevent multiple fetch of settings stage (#9878)
* Prevent multiple fetch of settings stage - Cached in the useSettingsState hook already * Error handling
This commit is contained in:
		| @@ -50,6 +50,7 @@ export interface SettingsStateProps { | ||||
|   lookup: SettingsLookup; | ||||
|   fetchSettings: () => Promise<boolean>; | ||||
|   loaded: boolean; | ||||
|   isError: boolean; | ||||
|   endpoint: ApiEndpoints; | ||||
|   pathParams?: PathParams; | ||||
|   getSetting: (key: string, default_value?: string) => string; // Return a raw setting value | ||||
|   | ||||
		Reference in New Issue
	
	Block a user