interface calc { id: number calc: ApiCalcType } export const useGlobalFenceType = () => useState('fence-global-type', () => null)