Skip to content

Commit

Permalink
Move const definition outside function
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardost committed Oct 10, 2024
1 parent 9aceda9 commit 84fdc35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ const HundredYearDomainFlow: Flow = {
pageTitle: '100-Year Domain',
} );

function submit( providedDependencies: ProvidedDependencies = {} ) {
const checkoutBackUrl = new URL( `/setup/${ flowName }/domains`, window.location.href );
const checkoutBackUrl = new URL( `/setup/${ flowName }/domains`, window.location.href );

function submit( providedDependencies: ProvidedDependencies = {} ) {
switch ( _currentStep ) {
case 'domains':
clearSignupDestinationCookie();
Expand Down

0 comments on commit 84fdc35

Please sign in to comment.