Commit render function