Skip to content

Commit

Permalink
Merge pull request #13 from lorenzulrich/fix/page-import-permanent-re…
Browse files Browse the repository at this point in the history
…direct

fix: Import permanentRedirect in page.tsx example
  • Loading branch information
hlubek authored Jul 4, 2024
2 parents ac70d89 + c56eaaf commit a55480e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ initNodeTypes({
import { loadDocumentPropsCached, NodeRenderer } from '@networkteam/zebra/server';
import { DataLoaderOptions } from '@networkteam/zebra/types';
import { Metadata } from 'next';
import { notFound, redirect } from 'next/navigation';
import { notFound, redirect, permanentRedirect } from 'next/navigation';

const dataLoaderOptionsFor = (routePath: string): DataLoaderOptions => ({
cache: 'force-cache',
Expand Down

0 comments on commit a55480e

Please sign in to comment.