Skip to content

Commit c353a14

Browse files
committed
remove cache on get domain
1 parent 855e222 commit c353a14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/TryForFree/ApiKeyForm.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ export const ApiKeyForm = ({
8585
// fetch to get domains after connect
8686
useEffect(() => {
8787
if (fullyConnected) {
88-
fetch("/api/try/get-domains?network=" + network).then((res) =>
88+
fetch("/api/try/get-domains?network=" + network, {
89+
cache: "no-store",
90+
}).then((res) =>
8991
res.json().then((data) => {
9092
console.log(data);
9193
if (res.status === 200) {

0 commit comments

Comments
 (0)