fixed integration CTA
This commit is contained in:
parent
0eb7cea1e1
commit
d549c0321d
1 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,7 @@ import { Switch } from "@headlessui/react";
|
||||||
|
|
||||||
export default function Home({ integrations }) {
|
export default function Home({ integrations }) {
|
||||||
const [session, loading] = useSession();
|
const [session, loading] = useSession();
|
||||||
|
|
||||||
const [showAddModal, setShowAddModal] = useState(false);
|
const [showAddModal, setShowAddModal] = useState(false);
|
||||||
const [showSelectCalendarModal, setShowSelectCalendarModal] = useState(false);
|
const [showSelectCalendarModal, setShowSelectCalendarModal] = useState(false);
|
||||||
const [selectableCalendars, setSelectableCalendars] = useState([]);
|
const [selectableCalendars, setSelectableCalendars] = useState([]);
|
||||||
|
@ -86,7 +87,11 @@ export default function Home({ integrations }) {
|
||||||
useEffect(loadCalendars, [integrations]);
|
useEffect(loadCalendars, [integrations]);
|
||||||
|
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return <div className="loader"><span className="loader-inner"></span></div>;
|
return (
|
||||||
|
<div className="loader">
|
||||||
|
<span className="loader-inner"></span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue