Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(export PreferenceSections): integrate PreferenceSections #548

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

paige12345
Copy link
Contributor

Description

We need to integrate PreferencesV4 into our app, but we have defined several sections for all the preferences, and want to show the section separately. For example, we define two sections: Organizations and Projects, and want to show Organizations preferences in one page, and Projects preferences in another page. Now I can use

const preferences = usePreferences();
preferences.fetchPreferencePage(tenantId, false);

to retrieve all sections, then filter out required section. Now I want to use
<PreferenceSections section={section} />
to integrate it into my app, so need to export PreferenceSections.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix [#1]()

Copy link

netlify bot commented Feb 28, 2024

👷 Deploy request for stupefied-mclean-b58cde pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 19e20f7

@rileylnapier rileylnapier merged commit 64fba8a into trycourier:main Feb 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants