Fix React key warning in example