Jsx pragma does not prevent "unnecessary import" warning

JavaScript file, when using jsx pragma it still triggers unnecessary import warning:

Pragma in first line switches the need for the classic
import React from react
to the variable defined in pragma:
import {jsx} from @emotion/core.


Thanks for reporting this. I’ve created a ticket.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.