Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoCioria committed Oct 13, 2016
1 parent a75d2c0 commit bd4167d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tests/CookieBanner-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,12 @@ describe('CookieBanner', () => {
}
}

const customTrigger = onAccept => <MyOtherComponent onAccept={onAccept} />;

const component = (
<div>
<CookieBanner>
{onAccept => <MyOtherComponent onAccept={onAccept} />}
{customTrigger}
</CookieBanner>
</div>
);
Expand Down

0 comments on commit bd4167d

Please sign in to comment.