Skip to content

Commit

Permalink
Update function name to not be opinionated
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Caires <[email protected]>
  • Loading branch information
renatho and gabrielcaires authored Oct 23, 2024
1 parent 970ce0c commit 6cef19a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const usePendingMigrationStatus = ( { onSubmit }: PendingMigrationStatusProps )
}
}, [ siteId, updateMigrationStatus ] );

const onOptionClick = ( how: string ) => {
const setPendingMigration = ( how: string ) => {
const destination = canInstallPlugins ? 'migrate' : 'upgrade';
if ( siteId ) {
const parsedHow = how === HOW_TO_MIGRATE_OPTIONS.DO_IT_MYSELF ? 'diy' : how;
Expand Down

0 comments on commit 6cef19a

Please sign in to comment.