mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add back a simple useGitFetch hook
This commit is contained in:
5 files changed
+43
-9
No files matched your search
@@ -376,9 +376,6 @@ export function SyncStep({ projectId, remoteUrl }: SyncStepProps) {
|
||||
)}
|
||||
Pull
|
||||
</Button>
|
||||
{commitsBehind > 0 && (
|
||||
<div className="absolute -top-1 -right-1 size-3 bg-yellow-500 rounded-full border-2 border-background" />
|
||||
)}
|
||||
</div>
|
||||
<div className="relative flex-1">
|
||||
<Button
|
||||
@@ -394,9 +391,6 @@ export function SyncStep({ projectId, remoteUrl }: SyncStepProps) {
|
||||
)}
|
||||
Push
|
||||
</Button>
|
||||
{commitsAhead > 0 && (
|
||||
<div className="absolute -top-1 -right-1 size-3 bg-yellow-500 rounded-full border-2 border-background" />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</CollapsibleContent>
|
||||
|
||||
Reference in new issue
Block a user