1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed rerendering issues on flow

This commit is contained in:
Fedor Katurov 2022-01-25 11:06:03 +07:00
parent 27763be864
commit a497912049
3 changed files with 16 additions and 13 deletions

View file

@ -10,7 +10,7 @@ import { FlowLayout } from '~/layouts/FlowLayout';
import { FlowProvider } from '~/utils/providers/FlowProvider';
import { getPageTitle } from '~/utils/ssr/getPageTitle';
export const getStaticProps = async () => {
export const getStaticProps = async ctx => {
const fallbackData = await getNodeDiff({
start: new Date().toISOString(),
end: new Date().toISOString(),