// @ts-nocheck import React from 'react'; import styled from 'styled-components'; import classNames from 'classnames'; import { CLASSES } from '@/constants/classes'; import { useSettings } from '@/hooks/query'; import PreferencesPageLoader from '../PreferencesPageLoader'; import { Card } from '@/components'; const PreferencesCreditNotesFormContext = React.createContext(); function PreferencesCreditNotesBoot({ ...props }) { // Fetches organization settings. const { isLoading: isSettingsLoading } = useSettings(); // Provider state. const provider = { isSettingsLoading, }; // Detarmines whether if any query is loading. const isLoading = isSettingsLoading; return (