Skip to content

Commit

Permalink
remove interval revalidation for swr example
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobandeira committed May 31, 2021
1 parent 29c30c1 commit ed6b490
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pages/bitcoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const getStaticProps: GetStaticProps = async () => {
export default function Bitcoin({ result }: { result: Result }) {
const { data } = useSWR("/bitcoin", fetcher, {
initialData: result,
refreshInterval: 1000,
});

if (!data) {
Expand Down

1 comment on commit ed6b490

@vercel
Copy link

@vercel vercel bot commented on ed6b490 May 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.