Skip to content

Commit

Permalink
Merge pull request #1898 from quadratichq/jim-sync-state-links
Browse files Browse the repository at this point in the history
fix: open links in new tab
  • Loading branch information
davidkircos committed Sep 20, 2024
2 parents e311adf + eaf9ede commit ec54151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quadratic-client/src/app/ui/menus/BottomBar/SyncState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function SyncState() {
const message = (
<div>
We applied {timestamps.length} unsynced changes from {to}. You can undo these changes.{' '}
<a className="underline" href={DOCUMENTATION_OFFLINE}>
<a className="underline" href={DOCUMENTATION_OFFLINE} target="_blank" rel="noopener noreferrer">
Learn More
</a>
.
Expand Down Expand Up @@ -116,7 +116,7 @@ export default function SyncState() {
<ShowAfter delay={5000}>
<div className="fixed bottom-16 right-2 z-10 w-96 rounded bg-destructive p-4 pr-8 text-sm text-background">
Connection lost. Your changes are only saved locally.{' '}
<a className="underline" href={DOCUMENTATION_OFFLINE}>
<a className="underline" href={DOCUMENTATION_OFFLINE} target="_blank" rel="noopener noreferrer">
Learn more
</a>
.
Expand Down

0 comments on commit ec54151

Please sign in to comment.