All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.react-utils.useDisplayErrorPage.useDisplayErrorPage.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"useDisplayErrorPage.js","names":["_ramda","require","_zustand","useDisplayErrorPage","useErrorDisplayStore","prop","exports","create","showErrorPage","statusCode","failedApiUrl","failedApiPath","_default"],"sources":["../../../../src/react-utils/useDisplayErrorPage/useDisplayErrorPage.js"],"sourcesContent":["import { prop } from \"ramda\";\nimport { create } from \"zustand\";\n\nconst useDisplayErrorPage = () => useErrorDisplayStore(prop(\"showErrorPage\"));\n\nexport const useErrorDisplayStore = create(() => ({\n  showErrorPage: false,\n  statusCode: 404,\n  failedApiUrl: \"\",\n  failedApiPath: \"\",\n}));\n\nexport default useDisplayErrorPage;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAME,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA;EAAA,OAASC,oBAAoB,CAAC,IAAAC,WAAI,EAAC,eAAe,CAAC,CAAC;AAAA;AAEtE,IAAMD,oBAAoB,GAAAE,OAAA,CAAAF,oBAAA,GAAG,IAAAG,eAAM,EAAC;EAAA,OAAO;IAChDC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,GAAG;IACfC,YAAY,EAAE,EAAE;IAChBC,aAAa,EAAE;EACjB,CAAC;AAAA,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAN,OAAA,cAEWH,mBAAmB","ignoreList":[]}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy