fixed integration CTA

pull/401/head
Peer Richelsen 2021-08-02 18:38:02 +02:00
parent d08b4ba0f3
commit 0eb7cea1e1
1 changed files with 3 additions and 3 deletions

View File

@ -99,8 +99,8 @@ export default function Home({ integrations }) {
<Shell <Shell
heading="Integrations" heading="Integrations"
subtitle="Connect your favourite apps." subtitle="Connect your favourite apps."
noPaddingBottom> noPaddingBottom
<div className="text-right py-2"> CTA={
<button <button
onClick={toggleAddModal} onClick={toggleAddModal}
type="button" type="button"
@ -108,7 +108,7 @@ export default function Home({ integrations }) {
<PlusIcon className="w-5 h-5 mr-1" /> <PlusIcon className="w-5 h-5 mr-1" />
Add new integration Add new integration
</button> </button>
</div> }>
<div className="bg-white shadow overflow-hidden rounded-sm mb-8"> <div className="bg-white shadow overflow-hidden rounded-sm mb-8">
{integrations.filter((ig) => ig.credential).length !== 0 ? ( {integrations.filter((ig) => ig.credential).length !== 0 ? (
<ul className="divide-y divide-gray-200"> <ul className="divide-y divide-gray-200">