In code example use quotes for the action parameter.

Otherwise there’s a deprecation warning suggesting use of quoted version.