Note: i18nとexport default classの話し
Why
Trying to implement the i18n translation function to the
GridEditModal.jsx
file in theimprv/change-modal-layout
branch but fails with thewithTranslation
method with errors like:Invalid Hook Call
Solving results
Using the Translation component and
<Translation> {(t) => <p>{t('my_text')}</p>} </Translation>
to implement the translation function.