I have the following warning from ESlint import plugin:
eslint - import/no-named-as-default: use default import syntax to import clearRegister.