Skip to content

Commit

Permalink
Linters fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ingerbird committed Aug 15, 2024
1 parent cfceb08 commit 8675033
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function fetchData(
const cacheVersion = Math.floor(Date.now() / 1000);
const sbParams: ISbStoriesParams = {
version: version,
cv: cacheVersion, // Force bypass cache
cv: cacheVersion, // Force bypass cache
};
const storyblokApi = getStoryblokApi();

Expand Down
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { apiPlugin, storyblokInit } from '@storyblok/react';
import { StoryblokBridgeLoader } from '@storyblok/react/rsc';
import { Viewport } from 'next';
import { headers } from 'next/headers';
import Script from 'next/script';
Expand All @@ -16,7 +17,6 @@ import PosthogProvider from '@/providers/posthog';
import StoryblokProvider from '@/providers/StoryblokProvider';

import components from '../../storyblok';
import {StoryblokBridgeLoader} from "@storyblok/react/rsc";

storyblokInit({
accessToken: process.env.STORYBLOK_OAUTH_TOKEN,
Expand Down Expand Up @@ -87,7 +87,7 @@ export default function RootLayout({
<PosthogPageView />
</Suspense>
</PosthogProvider>
<StoryblokBridgeLoader options={{}}/>
<StoryblokBridgeLoader options={{}} />
</body>
</html>
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function fetchData(
const cacheVersion = Math.floor(Date.now() / 1000);
const sbParams: ISbStoriesParams = {
version: version,
cv: cacheVersion, // Force bypass cache
cv: cacheVersion, // Force bypass cache
};
const storyblokApi = getStoryblokApi();

Expand Down
2 changes: 1 addition & 1 deletion src/lib/storyblok.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getStoryblokApi, ISbResult } from '@storyblok/react';
import { ISbResult } from '@storyblok/react';

import { siteConfig } from '@/constants/config';
import { isProd } from '@/constants/env';
Expand Down

0 comments on commit 8675033

Please sign in to comment.