File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function bucket(key: string, buckets: number = 2) {
2020}
2121
2222export const showSummerBannerFlag = flag < boolean , EvaluationContext > ( {
23- key : 'summer_sale ' ,
23+ key : 'summer-sale ' ,
2424 description : 'Shows a bright yellow banner for a 20% discount' ,
2525 defaultValue : false ,
2626 identify,
@@ -31,7 +31,7 @@ export const showSummerBannerFlag = flag<boolean, EvaluationContext>({
3131} ) ;
3232
3333export const showFreeDeliveryBannerFlag = flag < boolean , EvaluationContext > ( {
34- key : 'free_delivery ' ,
34+ key : 'free-delivery ' ,
3535 description : 'Show a black free delivery banner at the top of the page' ,
3636 defaultValue : false ,
3737 identify,
@@ -42,7 +42,8 @@ export const showFreeDeliveryBannerFlag = flag<boolean, EvaluationContext>({
4242} ) ;
4343
4444export const proceedToCheckoutColorFlag = flag < string , EvaluationContext > ( {
45- key : 'proceed_to_checkout_color' ,
45+ key : 'proceed-to-checkout-color' ,
46+ description : 'The color of the proceed to checkout button' ,
4647 defaultValue : 'blue' ,
4748 options : [ 'blue' , 'green' , 'red' ] ,
4849 identify,
You can’t perform that action at this time.
0 commit comments