dependency array removed

This commit is contained in:
fyzanshaik 2024-07-29 22:21:39 +05:30
parent 4a90134f34
commit 0ff4455490

View file

@ -149,7 +149,7 @@ export default function ContentApp({
document.removeEventListener('keydown', handleKeyDown, true);
};
}, [isPopoverOpen]);
}, []);
const getSpaces = async () => {
const response = await fetch(`${BACKEND_URL}/api/spaces`, {