https://supertokens.com/ logo
Docs
Join the conversationJoin Discord
Channels
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
welcome-yann
Powered by Linen
support-questions
  • b

    Bruno Diferente

    02/13/2022, 1:29 PM
    not yet haha 😄
  • r

    rp

    02/13/2022, 1:30 PM
    oh damn.
  • r

    rp

    02/13/2022, 1:30 PM
    The same error?
  • b

    Bruno Diferente

    02/13/2022, 1:30 PM
    no no something different
  • r

    rp

    02/13/2022, 1:30 PM
    Right. Some progress.. haha
  • b

    Bruno Diferente

    02/13/2022, 1:30 PM
    totally
  • b

    Bruno Diferente

    02/13/2022, 1:31 PM
    I'm getting the translation key
  • b

    Bruno Diferente

    02/13/2022, 1:31 PM
    at the button now
  • r

    rp

    02/13/2022, 1:31 PM
    hmmm
  • r

    rp

    02/13/2022, 1:32 PM
    Can I see some code for the relevant part?
  • b

    Bruno Diferente

    02/13/2022, 1:32 PM
    message has been deleted
  • r

    rp

    02/13/2022, 1:33 PM
    Do you call SuperTokens.init before that or after that?
  • r

    rp

    02/13/2022, 1:33 PM
    Make sure to call supertokens.init before doing i18n.on(..)
  • b

    Bruno Diferente

    02/13/2022, 1:35 PM
    my supertoken init is called inside a block
  • b

    Bruno Diferente

    02/13/2022, 1:35 PM
    if block
  • r

    rp

    02/13/2022, 1:35 PM
    I see. So you need to do this i18n.on(..) also in the same if block.
  • b

    Bruno Diferente

    02/13/2022, 1:36 PM
    message has been deleted
  • r

    rp

    02/13/2022, 1:36 PM
    Yes.
  • b

    Bruno Diferente

    02/13/2022, 1:36 PM
    the problem is each one is causing a problem
  • b

    Bruno Diferente

    02/13/2022, 1:37 PM
    message has been deleted
  • b

    Bruno Diferente

    02/13/2022, 1:37 PM
    one is resulted with this layout
  • r

    rp

    02/13/2022, 1:39 PM
    Im not sure what you mean by "each one"
  • b

    Bruno Diferente

    02/13/2022, 1:40 PM
    each time i move i18n.on into useEffect , outside and just after superTokens init
  • b

    Bruno Diferente

    02/13/2022, 1:40 PM
    i got different results
  • b

    Bruno Diferente

    02/13/2022, 1:40 PM
    message has been deleted
  • r

    rp

    02/13/2022, 1:40 PM
    hmm. Interesting.
  • b

    Bruno Diferente

    02/13/2022, 1:41 PM
    the last is throwing an error
  • b

    Bruno Diferente

    02/13/2022, 1:41 PM
    super token should be initialized
  • r

    rp

    02/13/2022, 1:41 PM
    Can you please open an issue about this on our githhub and we can have a look ASAP.
  • b

    Bruno Diferente

    02/13/2022, 1:42 PM
    i would like to proceed until i cannot maybe there is another conflict
Powered by Linen
Title
b

Bruno Diferente

02/13/2022, 1:42 PM
i would like to proceed until i cannot maybe there is another conflict
View count: 2