hunk.code_window:       "prettier --ignore-path ./.prettierignore --write",
         "eslint --fix",
         "stop-only --file"
       ],
       "packages/**/*.{ts,json}": [
         "prettier --ignore-path ./.prettierignore --write",
         "eslint --fix",
         "stop-only --file"
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:     "packages/**/*.{ts,tsx,json}": [
  
hunk.file_path: package.json
hunk.type: replace
file: import { useContext } from 'react';
  import { ApiContext, IApiContext } from '../store/api.context';
  import { useProviderCheck } from './use-check-provider.hook';
  
  export function useApi() {
    const context = useContext<IApiContext>(ApiContext);
    const api = useProviderCheck(context.api);
  
    return { api };
  }
  