Skip to content

Commit

Permalink
Merge pull request #1588 from sharetribe/fix-wrong-asset-name-on-sign-up
Browse files Browse the repository at this point in the history
Fix wrong asset name (affects: signup > terms of service modal)
  • Loading branch information
Gnito authored Feb 22, 2023
2 parents b86594e + afbba28 commit 4cbbd20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2022-XX-XX

- [fix] AuthenticationPage.duck.js: had wrong asset name.
[#1588](https://github.com/sharetribe/ftw-daily/pull/1588)

## [v10.0.0] 2023-02-14

- [add] This adds support for page asset files that can be created in Console. These asset files are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { fetchPageAssets } from '../../ducks/hostedAssets.duck';
export const ASSET_NAME = 'terms-of-service';

export const loadData = (params, search) => dispatch => {
const pageAsset = { termsOfServicePage: `content/pages/${ASSET_NAME}.json` };
const pageAsset = { termsOfService: `content/pages/${ASSET_NAME}.json` };
return dispatch(fetchPageAssets(pageAsset, true));
};

0 comments on commit 4cbbd20

Please sign in to comment.