Closed gynt closed 3 weeks ago
Found the faulty line of code: https://github.com/UnofficialCrusaderPatch/UCP3-GUI/blame/71d793346b6283c1f38a43390aa6712073309303/src/components/modals/modal-ok-cancel.tsx#L68
It happened with the transition to the new locale system. Can likely be fixed at this line of code by making it say: cancel !== undefined ? cancel : 'cancel'
cancel !== undefined ? cancel : 'cancel'
Found the faulty line of code: https://github.com/UnofficialCrusaderPatch/UCP3-GUI/blame/71d793346b6283c1f38a43390aa6712073309303/src/components/modals/modal-ok-cancel.tsx#L68
It happened with the transition to the new locale system. Can likely be fixed at this line of code by making it say:
cancel !== undefined ? cancel : 'cancel'