fix(Million): RSC true

This commit is contained in:
Philip 2023-10-19 23:18:53 +02:00
parent 0e2a313bbc
commit 3c90329b7f
2 changed files with 2 additions and 4 deletions

View file

@ -24,9 +24,7 @@ let nextConfig = {
};
const millionConfig = {
auto: true,
// if you're using RSC:
// auto: { rsc: true },
auto: { rsc: true },
};
nextConfig = million.next(nextConfig, millionConfig);

View file

@ -52,7 +52,7 @@ const ProductSearch = () => {
setShowInvalid(false);
setLoading(true);
try {
const data = await VeganCheck.getProductByBarcode(
barcode,