Daml-ui-template React function and Action with 2 arguments

Ok, that’s an odd issue, but I think I’ve seen this before. It could be that two versions of @daml/types are being loaded. Can you do the nuclear option:

rm -rf daml2js
daml build
daml codegen js -o daml2js daml/model/.daml/dist/*.dar
cd ui
rm -rf build
rm -rf node_modules
yarn install --force --frozen-lockfile
yarn start

And let me know if that resolves it? If not, PM me your email and I’ll jump on a call to help you resolve this.