Fix error in render method
Test / test (push) Failing after 53s Details

This commit is contained in:
Jeff 2024-10-12 14:47:12 -04:00
parent 1d3edec7bc
commit 16250ef533
1 changed files with 10 additions and 9 deletions

View File

@ -108,7 +108,8 @@ function TackUpNow({
{messages.map((message, index) => (
<div key={index}>JSON.stringify(message)</div>
))}
isInstalled ? (<div>Your Notifications</div>
{isInstalled ? (
<div>Your Notifications</div>
) : (
<InstallPrompts
isMobileSafari={isMobileSafari}
@ -117,7 +118,7 @@ function TackUpNow({
notificationsEnabled={false}
onInstallComplete={() => setIsInstalled(true)}
/>
)
)}
</>
)}
</ClientOnly>