Skip to content

Commit

Permalink
Changed taskCompleted type to boolean (#36)
Browse files Browse the repository at this point in the history
* Changed return type to boolean
* Changed header & description for storeInfo section

Co-authored-by: Ashritha <[email protected]>
  • Loading branch information
ashrithapradeep and Ashritha authored Oct 18, 2022
1 parent e84f58c commit 1a6036f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/GeneralSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export function GeneralSettings(props) {
return (
<>
<DashboardContent
title={__("Get Started!", "wp-module-ecommerce")}
title={__("Store Info", "wp-module-ecommerce")}
subtitle={__(
"Start with the basic info needed to run your store.",
"Fill out the basic info and settings needed to run your store.",
"wp-module-ecommerce"
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/configs/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export const wcTasksParser = (title) => (data) => {
};

export const yithOnboardingParser = (title) => (data) => {
return { isCompleted: data?.[title] };
return { isCompleted: data?.[title] == "true" };
};

0 comments on commit 1a6036f

Please sign in to comment.