Skip to content

Commit

Permalink
pool transition enabled for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Jun 17, 2024
1 parent fe2030c commit 674015d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import type {
} from '../../api/ada/lib/storage/bridge/delegationUtils';

import { RustModule } from '../../api/ada/lib/cardanoCrypto/rustLoader';
import { environment } from '../../environment';

export type DelegationRequests = {|
publicDeriver: PublicDeriver<>,
Expand Down Expand Up @@ -240,7 +239,7 @@ export default class DelegationStore extends Store<StoresMap, ActionsMap> {
currentPool: transitionResult?.current,
suggestedPool: transitionResult?.suggested,
deadlineMilliseconds: transitionResult?.deadlineMilliseconds,
shouldShowTransitionFunnel: environment.isDev() && transitionResult !== null,
shouldShowTransitionFunnel: transitionResult !== null,
deadlinePassed: Number(transitionResult?.deadlineMilliseconds) < Date.now(),
};

Expand Down

0 comments on commit 674015d

Please sign in to comment.