Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix bug causing to display in a few seconds instead of few seconds ago

dominik-zeglen799b78488d95
diff --git a/saleor/static/dashboard-next/components/DateFormatter/DateProvider.tsx b/saleor/static/dashboard-next/components/DateFormatter/DateProvider.tsx
index 417d92fec2..c54f779ce0 100644
--- a/saleor/static/dashboard-next/components/DateFormatter/DateProvider.tsx
+++ b/saleor/static/dashboard-next/components/DateFormatter/DateProvider.tsx
@@ -18,7 +18,7 @@ export class DateProvider extends React.Component<{}, DateProviderState> {
componentDidMount() {
this.intervalId = window.setInterval(
() => this.setState({ date: Date.now() }),
- 60_000
+ 10_000
);
}