diff --git a/src/app/program/page.tsx b/src/app/program/page.tsx
new file mode 100644
index 0000000..c79251a
--- /dev/null
+++ b/src/app/program/page.tsx
@@ -0,0 +1,14 @@
+import Link from 'next/link'
+
+import Programs from '@/components/Programs'
+
+export default function Program() {
+ return (
+ <>
+
+ На главную
+
+
+ >
+ )
+}
diff --git a/src/components/Programs.tsx b/src/components/Programs.tsx
index e3ffa06..b01e9fc 100644
--- a/src/components/Programs.tsx
+++ b/src/components/Programs.tsx
@@ -1,3 +1,5 @@
+import {unstable_noStore as noStore} from 'next/cache'
+
import Link from 'next/link'
import Image from 'next/image'
import {client, urlForImage} from '@/lib/sanity'
@@ -11,9 +13,9 @@ interface Program {
slug: {current: string}
}
-export const revalidate = 30
-
const getData = async (): Promise
=> {
+ noStore()
+
const query = `
*[_type == 'program'] {
name,
diff --git a/src/components/Stocks.tsx b/src/components/Stocks.tsx
index 8199058..489ec80 100644
--- a/src/components/Stocks.tsx
+++ b/src/components/Stocks.tsx
@@ -1,8 +1,12 @@
+import {unstable_noStore as noStore} from 'next/cache'
+
import Image from 'next/image'
import {client, urlForImage} from '@/lib/sanity'
const getData = async () => {
+ noStore()
+
const query = `
*[_type == 'stocks'] {
images