type signature of lambda is not compatible with onclick. onclick declaration expecting dynamic, lambda with commented out values returns Unit. Quick hacky way to fix, add null on last line in lambda. Proper way - don’t use onclick
1 Like