We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5746986 commit 0c8d6c6Copy full SHA for 0c8d6c6
apps/sensenet/src/components/dialogs/error-dialog.tsx
@@ -28,7 +28,10 @@ export function ErrorDialog(props: ErrorBoundaryState) {
28
<Button
29
aria-label={localization.reload}
30
className={globalClasses.cancelButton}
31
- onClick={() => window.location.reload()}>
+ onClick={() => {
32
+ window.history.back()
33
+ setTimeout(() => window.location.reload(), 10)
34
+ }}>
35
<RefreshTwoTone />
36
{localization.reload}
37
</Button>
0 commit comments