Skip to content

Commit

Permalink
fixed prettier and test simpler since autoresume
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Feb 29, 2024
1 parent 77bd958 commit e351f4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 0 additions & 10 deletions flow/e2e/postgres/peer_flow_pg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,16 +1255,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Dynamic_Mirror_Config_Via_Signals() {
sentUpdate = true
return true
})
}, 28*time.Second)
env.RegisterDelayedCallback(func() {
e2e.EnvWaitFor(s.t, env, 1*time.Minute, "send resume signal after update confirmed", func() bool {
if !sentUpdate {
return false
}
e2e.EnvSignalWorkflow(env, model.FlowSignal, model.NoopSignal)
s.t.Log("Sent resume signal")
return true
})
}, 56*time.Second)

go func() {
Expand Down
8 changes: 7 additions & 1 deletion ui/components/EditButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import { ProgressCircle } from '@/lib/ProgressCircle';
import { useRouter } from 'next/navigation';
import { useState } from 'react';

const EditButton = ({ toLink, disabled }: { toLink: string, disabled: boolean }) => {
const EditButton = ({
toLink,
disabled,
}: {
toLink: string;
disabled: boolean;
}) => {
const [loading, setLoading] = useState(false);
const router = useRouter();

Expand Down

0 comments on commit e351f4c

Please sign in to comment.