mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-10 06:24:13 +00:00
fix(Million): RSC true
This commit is contained in:
parent
0e2a313bbc
commit
3c90329b7f
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -52,7 +52,7 @@ const ProductSearch = () => {
|
|||
setShowInvalid(false);
|
||||
|
||||
setLoading(true);
|
||||
|
||||
|
||||
try {
|
||||
const data = await VeganCheck.getProductByBarcode(
|
||||
barcode,
|
||||
|
|
Loading…
Reference in a new issue