Followup to c6cb3196718ba2dde8e799f5d9cdd999f3116d1f, the actionCallback function was double-wrapped with () => {} which meant that copyClipboard did not return a promise.