Caching
This commit is contained in:
@@ -28,8 +28,8 @@ export default function DeployAppDialog({
|
||||
defaultApp?: string;
|
||||
children: ReactNode;
|
||||
}) {
|
||||
const { value: nodes } = useAsync([], getLiveNodes);
|
||||
const { value: apps } = useAsync<Application[]>([], getApps);
|
||||
const { value: nodes } = useAsync("liveNodes", [], getLiveNodes);
|
||||
const { value: apps } = useAsync<Application[]>("apps", [], getApps);
|
||||
const [name, setName] = useState("");
|
||||
const [app, setApp] = useState(defaultApp || "");
|
||||
const [node, setNode] = useState("");
|
||||
|
||||
Reference in New Issue
Block a user