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

[#5] add state for gdprApplies #10

Merged
merged 3 commits into from
Oct 16, 2021
Merged

[#5] add state for gdprApplies #10

merged 3 commits into from
Oct 16, 2021

Conversation

katie-ta
Copy link
Owner

@katie-ta katie-ta commented Oct 16, 2021

Addresses #5 @charles-tan

summary

Displays a message to the user when gdprApplies = false. We can address
Screen Shot 2021-10-16 at 12 17 35 AM

tests

(see screenshot above)

Comment on lines +2 to +3
/* global chrome */
/* global browser */
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding this to resolve errors, since chrome and browser aren't explicitly defined

let api;
if (chrome == undefined) {
if (chrome === undefined) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=== is safer

@katie-ta katie-ta marked this pull request as ready for review October 16, 2021 04:21
@katie-ta katie-ta merged commit 0c643bd into main Oct 16, 2021
@katie-ta katie-ta deleted the kta--gdpr-applies branch December 4, 2021 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants