Skip to content

Commit 0311de5

Browse files
owenatgovseaemsi
andauthored
Update docs/contributing/rebrand-feature-flag.md
Co-authored-by: seaemsi <50173207+seaemsi@users.noreply.github.com>
1 parent 57dde59 commit 0311de5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/contributing/rebrand-feature-flag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This feature is controlled by the app's feature flag middleware.
2020
2. Sets 3 local variables:
2121

2222
- `useRebrand`, which is set based on the presence of either a `rebrandOverride` query parameter or the state of the `use_rebrand` cookie if the override parameter is not present
23-
- `ShowAllFlagStates` which is set based on the presence of a `showAllFlagStates` query parameter. The link under the feature flag form sets this parameter
23+
- `ShowAllFlagStates`, which is set based on the presence of a `showAllFlagStates` query parameter - the link under the feature flag form sets this parameter
2424
- `exampleStates` which is either `[true, false]` if `showAllFlagStates` is `true`, else an array containing `useRebrand` as one item
2525

2626
These local variables are passed to the app views where they're used to display or not display rebranded states of things. `useRebrand` is also used by the main express app to automatically set the context of component examples so that if a given component has a `rebrand` param, its state is automatically set.

0 commit comments

Comments
 (0)