mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Fix onAuth binding to this
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -72,6 +72,7 @@ export function SyncStep({ projectId, remoteUrl }: SyncStepProps) {
|
||||
setSyncSuccess(true);
|
||||
setTimeout(() => setSyncSuccess(false), 2500);
|
||||
} catch (err) {
|
||||
console.warn(err);
|
||||
const message = err instanceof Error ? err : new Error(`Failed to ${operation}`);
|
||||
setError(message);
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user