• Ajay Kumbhare's avatar
    fix: copy code button toast message (#1979) · b5d4b8ea
    Ajay Kumbhare authored
    * #1952 Fix incorrect localization key for sign-up failure message
    
    * feat: add typeScript support to enforce valid translation keys
    
    * feat: add typeScript support to enforce valid translation keys
    
    * fix lint errors
    
    * fix lint error
    
    * chore: Disallow destructuring 't' from useTranslation
    
    This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization.
    
    * fix: typo fixed for memoChat
    
    * fix: copy code button toast message
    
    Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully."
    b5d4b8ea
Name
Last commit
Last update
..
components Loading commit data...
css Loading commit data...
helpers Loading commit data...
hooks Loading commit data...
labs Loading commit data...
layouts Loading commit data...
less Loading commit data...
locales Loading commit data...
pages Loading commit data...
router Loading commit data...
store Loading commit data...
theme Loading commit data...
types Loading commit data...
utils Loading commit data...
App.tsx Loading commit data...
i18n.ts Loading commit data...
main.tsx Loading commit data...