mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-10-26 10:20:54 +03:00
docs: fix logic in feedback
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9624 GitOrigin-RevId: 25a84785d6282b87b4874165177d33f86e632e3f
This commit is contained in:
parent
bf0afdfc0c
commit
587fd20283
@ -53,7 +53,7 @@ export const Feedback = ({ metadata }: { metadata: any }) => {
|
||||
.catch(error => console.error('error', error));
|
||||
};
|
||||
|
||||
if (window.location.hostname != 'hasura.io' || window.location.hostname != 'stage.hasura.io') {
|
||||
if (!window.location.hostname.includes('hasura.io')) {
|
||||
alert(
|
||||
'Hey! We like that you like our docs and chose to use them 🎉\n\nHowever, you might want to remove the feedback component or modify the route you hit, lest you want us reading what people think of your site ✌️'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user