mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
2 lines
1.0 KiB
JavaScript
Executable File
2 lines
1.0 KiB
JavaScript
Executable File
"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[352],{682:(e,r,a)=>{a.r(r),a.d(r,{PageErrorTemplate:()=>w});var t=a(30758),n=a(44286),l=a(91050),o=a(96027),c=a(5115),i=a(81120),d=a(11854),s=a(25851),u=a(92107),h=a(60256),f=a(12574);const g="main-pageErrorTemplate-errorBody";var b=a(86070),p={"/":l.H,"/search":o.C,"/collection":c.M},w=t.memo((function(){var e,r=(0,n.zy)(),a=(e=r.pathname,p[e]||i.b),l=(0,f.r)(s.W,{data:{uri:r.pathname}}),o=l.spec,c=l.logger,w=(0,h.t)(o),C=(0,t.useCallback)((function(){var e=o.reloadPageButtonFactory().hitRefreshContent();c.logInteraction(e),window.location.reload()}),[o,c]);return(0,b.jsxs)("div",{className:g,ref:w,children:[(0,b.jsx)(a,{width:46,height:46}),(0,b.jsx)("h1",{children:u.Ru.get("error-dialog.generic.header")}),(0,b.jsx)("p",{children:u.Ru.get("error-dialog.generic.body")}),(0,b.jsx)(d.$,{onClick:C,children:u.Ru.get("fatal-error.button-label")})]})}))}}]);
|
|
//# sourceMappingURL=dwp-page-error-template.js.map
|