diff --git a/Resources/views/GraphiQL/index.html.twig b/Resources/views/GraphiQL/index.html.twig index ada9714..d810bc2 100644 --- a/Resources/views/GraphiQL/index.html.twig +++ b/Resources/views/GraphiQL/index.html.twig @@ -13,9 +13,18 @@ {% endblock style %} - - - + {% if versions.fetch matches '/^[~^]?2/' %} + + {% else %} + + {% endif %} + {% if versions.react matches '/^[~^]?15/' %} + + + {% else %} + + + {% endif %}