Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
STRF-4612 - Remove unnecessary API call to get cookie notification st… #1380
You can already infer the status of the cookie setting from the presence of cookie notification text; this property returns false if the setting is disabled. So this API call was unnecessary. It has been deprecated and removed in stencil-utils as of 2.0.
This handlebars check is enough: https://github.com/bigcommerce/cornerstone/blob/master/templates/layout/base.html#L35
Tickets / Documentation
Depends on bigcommerce/stencil-utils#87 and a stencil-utils bump