fX��[����#ۏ�޸� �"]�]�l6�3��f��g�l��s���1$�UON�+�R|�0������tA2h�>��>����~o�?��zw�to�9t_�*!i��O�k�m�Өc��P����'���T�3����>l�U�3�7�x�3P ��tR�8y�� ���2h#o���t� Q��T?��.��9���|�M�43fQ%���X������]9�=!�������s�vw��g7oܻ@��y����VQܚ��>���}#��.��t���=�n\�!tf|���xY:M.݊x�[b�^cS�Z�i��P8��W�賃� 4�U�Tej��;V͹I�� x��6l�k�f������Z�K�@�����Y�pPϢ���- 0f�r��J�[�@:!TE������Z�*&չܯ@N;�������5����l?�z�7ٹ8��_ǧzZYO�pP�U�po��wR�r�3�v�s�:@���L���N�W�>��λ�S8��]A�C���v��y��^V��*�_&��O��A�A�t�/�z�o�%�ױ)X�ϝ��<Ҏ��5_��F��������˄�v��-I�,u�aM�S��o6:��N|��:����Ǚ]�8�1��S�~������YB]���`���l��7��Z����t��u\��W?+���:_��Z�":��r��?� &cX�� �Sn�X� ��T< �qɤ$��s�M�;�J�K3��NTlۧ �O}���Ҿ�j����c��w�B �]|=��Ѭ*������!�.��0#�/Z��En'�GH&a#�/���En'�GH&`#�/ڑ�En'�GH&a#�0��Eb�v#�ρ#�0Z��Eb�v#�π#�0���Eb�v#�ρ#�0ڑ�Eb�v#�π�A�3MB d�`F���%n�]n|���7��U��ݲV�׍�>+q�<;q���Bk��U���n���N��7k'����c��i�Z�'�e�0���e�IT�Դ�R�6��U�"�'���d�>r']�O��,$/6GKC�hE�� V[IO��N�*v~B:�F��� hy�༲ݜ?g���!�vE=$��0�P6�F�K�馄�#A�R[�T��1!�q]�3|!��!�q��3|!��!�q��1!�r�0!���4�p��r�*rW9=X�)�Vg����e�!%@Kc�b+�O��mN_sl�d��_卋�Z��<�YG�x��]?�k~w��^k � Q��a�Hw�n~��8����'.��?9kY�m�y����-�{�2�;��[����i����\;�s��Ťɖ�m���;2�}z����`fq���K"`z[��T�[ӹ��/ �ѧ��/��ͪx>Nn̵3�v�K��S�u�r��]��,HcnX�K`�i"�n"��l[{L�gL5��e���`r !$�ctس�3k�����յv�L�os�!T5�����B(����p� ���N�ʷ�‡�N/���!8�� �� �9Dį0� Vp��y��I�� �,xbf�JLBp����(ć��+;3 ��IkԸ��grې��I$��;�r����^�z�=Õ w��A��0�L�jJ€I�+��d�����������O�#]�#W��F�������q���Y�9��Iw-,���a��;tr���#�����z���P��v)ej�a�7%{&�N��>��p=_��֓����e&�R��u�?��l���߷�\uw=��u~���V�˭����}����@Z5��uZ�����'�t�o�gU1m�wɣ�?_���j4�b��3$�[��a�+��3ry5��a�\(���@���E���1��ԉ�+z�Wz�!TE��Aa��-y�{>kY\�U�l�� �]���c}*\F;�u98�@Ab�W:���L.\\�B�Q ��撡�����㣴�E��� �3�tb�8�d�_��"��"0RIQ���H0� � ^t7+6\ � �A�>j@�h$��*ݒMN$ē�k}޲)M��'&Cn?I���B �� 0�.VJ;T�X��P�����z&? ����Ma���Y�٢�P����H�Sz�xϲX��ք~�C�J�wRe��-}����Ѩfbh�f� �ϟ���G�9��?]��gy}��h�}K5�4�c��bs����ɋ?H������ۧf��{�F����5�( ��P�=�؟W��zBύzث�F=�h3"�1 Izv�2<�·�NѶ�n�G/��u3^ү��C����=A�}hM�g�=����J��`!N�>ڪ�-��%���H����o�\���oߩ��\>�X���'� S T��=E�13D��=�%�����> f��8��n����Y� �i9�.�e&��l �%�B�F�"<Ŧ��bX�Dl��I����Ar�'�Gf��= �-���H|���3%�V$�P&��y d*��vH� I���Tޟ�����=[op����Gx�Õ��S�Ȕ��2�e�D{2���H�j��M�@���#O!d�ҋ4\p��պ?��V�C��O�G��u���@Q�I��8�v�F�R|)��dI�,� ��7t�8��~E!��{r�((�!'D���t�cUO3}�ҭ.|��i,b���9ܼ,��F]�=��A��V> �:���ۭ����Q �l�Q(�E�t�y���!kp�h�����R�]�eH���� �>>����������|��������L���0�x�!|T]��4<����m|4�����u��/�2rZ��*&l�@��?���P�K����>��w@�O�Mn��"��Hp�t21o��4�ha<�Vԥ�.$Zd��$�Y�$"��R��A�|���O4�Eٯ�I��M��E�"��P0���9Ԥ�VFȝ�e*ɴ�'�]ܢA7��ó�bp��BwySU�Ė�\J��Cf �n��!�~���YTQZ�$e�"���3tbP��Pc]���!*����K���ր$�)H534�$�"fAt��;UHQY��i�> 01�S�?��ZF�Ȱ�:���J��7xѝ{�>Ϙ�8|�6��Z�/��8�M[��ll�����\o{@������ Zc����n�����kT��P�Ht����]YD��aF\����|CR�=K���r��O�懇F���Ee0��?\�H[ m�*�:ԭ �A��R�������&�mS$��<�� �z��aw��D�m $ g�pak�d��Àn!U�T$ 4��1�1���][1��}Ā�px� 3�!�4�?Q���=��1.�˶�~_�8U9=�]�Z��f�����?_��@>�κO�`{#��1��:�:��}w"���ԃїYt�-�?�w�LQ`��_L�+b�O�ұ� ���~�ŝQ�?9�����k�[���k�����9��ٽ:r��<讠��6�A������GE�#h��{ÌrU�nq�l�=��}&G�l�����=ۺx�6��:֮�A ��z�`��q�@��?%Y�'�r���y���~�<��ݝ�&����C�YD}C�~���1~��Sw�>Ն~K�� ����zA}&� �.i�������=���IU����W�1h�!LV���wD��dL�&9o�x�R �`���YeЯ�x^�(`��;��hu�h���ݴ7��}!=�41(/�Nzp�n�iΗN��@���$a(�%��AmB����4}�bhQ4�L��"��T�VA� �A|i�d'�dt���}�P��?ۛ��30�o��x�FbX�G&L���TXɚY:IʒN�����[����a�d�o-}��77x���x����W2��d�e��lu����z�鬻Ke���ξF�#�o�ܻ.vs� �E�||��5� ��l��u�����]�y�g� �򻔔��Gl��k�}��kVU\Y������1Ν6�3V���|{���]x'�i��YBȟp� ?�a���P!,T5�42�ѹ����{=�t�7�LW�.$xq�"=���'����BDY��0��8' !��$y��f��{��s���S!��� � CQ�!���� b��@���rKD��'��C9��w�C�dHc0�3[�]�E���8�O��$Њ ��E&���<�?�b��qP`O�����7����+�<� h�哭T�i�a�%V&Z��F2 ���O��`��Dk���rVQHJ���p��k�j,\��r���N��ϩh�)��a��rʿ�ƖU;�S���y�����+�����\��t���ٚ`i��Mr�?�ο�f�#\�Z����9��<���7�]�-g�zSi��?�U}�eg4��3��嬠�19��F� -�p/w�q�!�6��2^��_��]Z���� ��6�޳���~\��N��ϲYL"z�F��� �2lSJ\\��0�<���Y@��N~>�N|�->s�4B!q#Ï�-��!N7C_H�_h�_LB_PB��^w�ס��ӿ������<��5���;f� g����Q�f3��E%,��1 �Eq�؉!D& ��A/����qD�"Iw����k��!�����ѿ���8�=U�q���� ׊OWd�ӏ��{�{��_$ی���9���ĐbF!(�L���z�Ɋ}��=�~�b���ۥS��Tayx�h��)p� T�ճ���c-1+V�1 �QNa�����&Y \5�I��KE��yr6B@����r��2���Z�Z��K"�- z�����g�fo�J��ZAx�n��.��"~����5���7���O�w,�us�$�{��,�0˕@B��-�l�-19��*�ތ���!©��#\��X2���{~�B�P��>K�e"F�x��?�i��z*�K5�c=�0�!|T���a��P`�"�{|~�2t�:�.��7�v���� q�H�$ �����;ĭQZʴѓ)V� �R?�Hp �� v��b1�5����e�eݢ#TD���S���(t}6y"$��3Vެ��:J#����?"�D�y�*��I�'i(� �f�|u ��/� �sL:����W�`�ߜ�����[��[� V��8WvSw����8Z�� mi��Z�eӚ��@�hxɫv�-�~R�K��:�r�̓ٴ�!��� F?!�N��ێT�X2N����wK���g�p�H'\�k�1Ҿ =��s���qļ�~��B�o����[��Yn�ʸ,�u?<�t�����z� ����_��7�����B��s��wA����ښW�5}��$*G�C���y>W�t]S�FY�6z ��]�{�F�I\ǑH ��}a�4>���ߝԬ�1�~K�x��0�!T��TF �^�Xk���gO�&���e�u������� �$Y mk3�d��V�bt�J�BW ��J$*��;R�Nj�d�^��D,�ZD�"��"Q�I�y����Y��,L�������dϱHD99���c��7έCPA'$:������ֹ<� 69�?��.͙H�y���"1�c�N�"X�X>���C�{W��b����I�AL��vAU�F3�-�"Db'6=>p��0�@o�$�<�Z/�%7Y%����M�Z��/�bv6!���^����T@�K!�I�d7?Ú��$���f�"n�ulL�����2L4��A�� �N}M��fS��ֱ�Qfʛ�+#F[�q�*Q��er�ԕ!me?J�o��fH��l��L*5�i������9�?�lޓ��53<��Mʒ��Tm�SJ�ٶ$9���o��Ȩd� d%�h���Y����1��Ur]Pڡ�k�⧼��ccY��9UL�� T�Z(�~����n�P��]:�n0�+d�!T}�P$��~��~�>ۚ�Y���0GL��NFO��ѮJ# �.�E�d�z�T�!V]���*��W�L�% 3� v>W}��|�e�E��ߘ쯤�-YU�Hɝ��^I.�A�cV�%�:k��zr�nb�6����(.����������;#+B����$����I��L ��Ip�� x0 �-�"0K&��kǶe�r^��޽��}u�6{1��:Y:���Po)��pܱ �ME ;I�$X��5�\U|k��`�,�!�;v��?#��w��1%�f�����e�������w�{8H�Z�3�Ri���΀��Rl٠�<��پ5�Z^��^�a�M%f9�n�:�5���J��� ,>)�z}�o ����.�w�4�"�6_sd���gYvs�-]�pb�aՑ+�F�U�8�?��!��0G T���!T���%���过�:�֪O�V����r"q�J�!���&���q�R�@B%�! ;U����9;N�)'*� ��t�Iwt�)Ĉ� �JR�� ����*�DC$V�`�Y.�Q��X:3��Q�@5jtJ�&i��߁�m`��=,�#��Lɥ�Y���ga r�����wV���X���`f:�u�BjQ���S�ŒE�"sI�"�dJL����$��#� >��Ib&2���Q!��$�Ћ���E��2���2��9��$̺ �5ѝ64�9О���e���%�ܞ.w�kz�y���Q=c�������`cL�@�˟q��}~� ����$���T�d��ͬ|xn�A y�y��}�s�{�M���'�SE���L����� E_8E,;W�. ��^m8�@W ��@�����X���W�<P�p-r�D0MJ�Խ�a�"��ݫ�n��Sx�!T���$@�@�Zs<�q�y�OY��:����-m��pxD*�K�M� N �<�}��l�1-�d���T�v]&��(k��?���������� � ��p�Y�!t��Y"[6>�Q���A# ���hZ�%� id�2f>MQ ��&�����|M�D���?a0Hw��K�$B"QWX���i��%� ���pFw��nw�-�}�>p�v�ns��JM���*���Ƚ��= ��S���آ��/�X{�qrWk}�ْ�yr��9J��]+N ����?N���ŷ�8��4�o�qk*��"�[o����R>šA��'��)k��.�^�Խ��|{X�ϯ��.�Gr���(�~��'����G�?����U�����*'�����Տ��+ǡa�4�R� vʷ8�v� *��P�z��_�8 bm�z#��8�]���f�pG��{������q��w�ڀz�r(�kb��T����!T��t* <��~���;�gy�� �Z���*)����@&�?N�N�"ʄ��z�,U!��3������CT�X$'hn���C�q2�d��D�O�:��O����@Y �vQ�$ꔝI��P�ra�O��)�'j��u� ���ySw�lP̆ ���B��xd�rxy��R|����Yu���e�C�!��C��!���8�-!ڻY�'����&�r���D(��'���|��]�y&̑t�4�%�܂Z�H����!�"'�B��� �=b����A׃%[:LQ���s.&�� �T�jtZlג8��9���c��.��ڲ={���+E�= �����-@s�<����0 �_����#�u��Ԛ+�����6�:�$�ԧ���:�@��Cs�Oٲ�l:��=:6�Q8�"��+a�A&�v��ز�j��1��U٨(�:����w+�&A��P��֐ �)l�Sx�BwЋ�C��:7'�fǝ�#՟N��Y� �]U� +&����;�l���='��\�W�O)��M>���oq����������,�b� "`��i��HӃ��Ϧ& e��c���{�5��ͱyf�6g Q�Z�Χ|^�dp����8��`um���� Y*�O�m�x!T��T( � �R���{x��ן���;�rb�?�v��"���l�E��Y����� r� ,I0�K���LL�D�ʏ �a"����!�FA�E��"m<� ��"����7L�����z�u mۄ�2wy)�'�!�� J��j�D�Br�F<�4!��^T�Ct�FN��$U�+�RH�g���'%D�Z'ȳ��y�Y.LE-%�)XYB"c���{~u�����ޞʐ��d�{?�k!� ��b) ̨� ��'���C�Tȁ����`��L/ rtuo�IC��$� AzzͦyP�O�<�1?����<�:�6h�s]v���!���>3�1�KOZs��=�|��P>���B���T��[�*5�=ݺ�t~��M.�a���P��x&����]�!o,���=��G�gO<��֓�-~�AE�7 ���-�m؛S`FIm_D�'s�789*%�>Z��H�`B�K��e��)�3��gf(�Q�}�������s��E���f���dB-s�wM����!T��ibH py%����6�����'9�v�O���gJ�Z�;g�����Z�$C�%��H� ��O'��u��>��Wl!!hkYJ��d�.��E�k��p�ܾ})olO��E�.�|�?���JO�kQ��@�h,nO,�z�=J�~Ϗ��������L�.� A$�'�Թ�;��Ù�[�'�OUEY�2 3��M%�z�yX��IDnP!�ē���Ō�D�&ΉbH����� �7�5k�)~M�þ����K��1Z�_kнO��X�)�B��I���P��M I����s}�^n��m�;�����Y����:��4cc�&��?����갍���3ᐼ�r*H�!�b Dz�r_�\v9�^:ym��lf�鍹#F_�%?]���H:�� M�p��T�|U�LK���X3M���]��p��#�'4i1��A ���pʚ�y1^{���3_R�d�b�0�=W+ܰ/�OV4�-��pz!T���@ Uf������\y�=��f�s��Z����\$��ɸ�>����D�R�d���'�������,����"J�OeefO�%"9]y.I�n� 8�I Թ���k �7��I�4��3#����D�O��t��P�AbȦ]�VB_H�)rqL.��,!4�X]"��4 �,��mU]E�qv�.�T-�����噤��%!��� �5���"  =� ��B�qX6ŗC�{��s�5W� �(Җ����!O8���PY�-U�#�#����s��-li�1 �j������/�mN���Xҕ��V)lM�ߪٜ}w�^�#Ĝ�p%58r�j =�sl�m������4n��d|�v�t����v�lܡ"��&�j���LE3��5}� ��Za�%�4��-S�9��w���k��4/"ف�UM�4h�I�.��ؑ �w|�N�O��? �� $K�bs@ �I�\%��E~K\��!T��c���(H&�*�tٮ���3��|]�Җ�27�8c��uĶv ��[�!�ԐI���vpAJl$|m�n\���PЧr[���\�}�}e�O�K�S��J{��]����� �L�&s)6 ������% a9��iD��#V�9���J������ '@%A�}f+1��*u����$�B3��.df<#��G����� ��]��zB���HIt ���s��>�ܒ�=;twK�=�X��R���\k�^Pg��4i�kŮI�o��:\(sVB��G޸�*�^�@@[4~� �QҜ3�֖���iY���������s���r�I��5� ���R��B'*�0v��á�ʑt-��"��\�� ��=p(�`s;� ���I�I��?���y� ���i�L#ӌN;\�VIFv��,~ͭ�Y٬�G����k=�Ӂ�@Y�%��%�;9[ȧs��l6bPLw�~��\�����27�!T���@���]ϗ�Ƽ��k&���i<}��$I�!N����x��٤�_�E �6���K&�JMF�&���'&qn��JS�AV��I���D,��>��ۄ`�9��"����!q�Fn+���k��FY��ָ D��t5{j�OÑ:2 E�o�� ` T'���$��C��IMO���$�v]��T����pEp^�����3�`���DpȬ�J�+ ��D�"����A@�+�T�x����3��h��EDN�K�F(j��s�e>S�򻶱q�Kcw[��',0� O �Y|�5 �N���7�_ Hb��E~���Mɤ礓2dxj�L��;�9K�,��vt������ԏ�&SF�he�z��S�`��D3d���x�ޫSw����v�b $��~��Qm�b���5n���d�-sH!���"2|t!��P!(�����]��<��s��9��L�2<X��.$NNX^T���|��$�.K��{������#E�2!��|K�,P�m�o ���9���Y���_�\�;��t}���w:�]W�s�o' -���<�'��'r�ɹf��$�d� п7ɶy�n\�<���Y�'�W�|���6��2/T��n㚈}�&��v_1��Γ7���s�>�S�lc�j���?��ŁY��U�v��^��Z�Y�F����y�Ānj�> �8�}7�mU�[��?C�}�4 3O�;�#Fz���.�/�ѩ�-�Ѽ3����#��uBM 7�9r�yd^z�5�/��Ϊu�N"aw;�z���ˊ��d茐�DF�J� ��(Q9�g�����M }br�d/���L���� " %b+�=1k�+e�ƽ7��{!,Tu�42� >�CD����sO� h�G�Dk�������kB��E����h��r��2�NwN Rf^ui 2_'D�"�ԓ�'f2�'L��וM\6|v �;=��>���N�q3I4,�K�h�]���B"�0��d ��yh��s�� D��fB �i�P�x��".���"4T���>�9�؉�� ��_I$VL��x�b�yK�}s9�<,��{�q��3֧��;�S o>��7�ψ�����e��/ϝ��������E��)d��2��� ��_�n-�[�qn����L+P��J� Z�حV�75X��͑��~��w��vE�e�d��٠��.Q���Sf��2���G��?D�IZ}��UK��a)�� Y�{~�P�P��\���ٓ��q6a���ђ�ꞩ��IQx0 ����|�֬���Z�?%�|#�-�!�r���1!�rڑ�0!�s��1�_A�s�B d�`G������\AH�� �?s���.ǟ���MZ�ŵ��q�2 �a{�׸po,�� �1���\R��Z=� 9L�b��c�ٶŸў)P���'�]�_%\��i\İ"���%��a��b?��:i#�iemP��Y��86�̀��E�QO��4(�K_��%�.����c�ꉍl)H�wqVO_M��B�.er����n�%83�@,�3���S5��|vLu��ׇ"啾C<~�*�S(`[�G#O4fE�f�zo,]R1DN� �K¥7W'@DX&:���ϖ��jţs�/�2�6|A�R��4?տZ�z��.�]7��~�>��rl���à�=w`����㝦�(�}�u̓��]�X�+;��P5���"h�K_��m(9]�b|��Q�ӎ���2T�ƹA"͓��|j��?W^����ԯ=H $욿1Eϖ���vqB[�(��mN��]��&�� � �Q#LY\>��8����a��MN̗fC�#�~D��&��ᚴ�y�G�6��@W�C�& T���eg����Z���ĩs��͛D9����F���U4�4�|��qܤB�]6�C#��~�,6�,��H�C�T�x���k�����^ ��?�k���6J�� �O��d�m B�F�Ea��_En���&ݨ��_�]*� ���t+�����@c�7��G4��� X-ոkEA(/�=8x�Y״�o�_w.S��,teN}��j�����V�J��'� �~^��"�&i+ޯ5�*ջ��� m�hȂڭ�#C®��ST���D �(�PL����������jG��_�� �UK��D`��?y��ө���#�3�k�e� (E7�os��llu��&��������5���ȿٕө ����"��n��-qO&��^�(V��!_�y��� V�Gy+:{�}�v�R�z^$�>~zʋ����2����r�$�W�e��2]ܓ��Eg-��f�8���2��E���R��ժ���� D��_F��gN[qn��0|5ç)��f5�����0fS�'�'Ib�fx<��%��!�[�� 8ipCX@&?���7 V��k&1F��"I1��mޜ��7F�iʓ�����)9�!v���d@:c6֘��i,���;��x�U_ݶk�BF��8<9F�j&�j����ϏĘ�� ��49+1ͩ��iӒ���/��5ƒ寕 w{�Ω8���[}ng]a��W9��F���y����)�` i��KѠ������bU!��� �ЖĻsŠ~�-�d2�頇 /�����3�H�g�i2�᠜�|���\)�e R@���K���'}\���+�v�*W�aK���N���s��R��E�E��g'��e�|��0D�Fi��M���u������7�gK��&g}c����N�Wt<%$; �B�r���r�yBI���1�uܶL��Q�w�D�F��{��?_A;nb� *ڴ�j �"�h�2�M?��X���7^�"���j_���"�K=�z{Bk���_j�{���74�3�s�B�[j�Y^!��o�a�x�6�iwvL&�5�x?u#�ڸ�i�l�X��E��F:mT\�\�4GU��ߩ?jv�e�@|?g��;�t8NS-T��T���L+�<�l��܃q�q���O��ص����yr\L�~oG1��X}�灆�uRg{��F�Ƥ[� ����k���H�=���V���8'ޙ�%�G����:�B�9y&(��dk-��([��� 7�X7����K ��3���.S3-aeVF��Z�$񝆅�R��9(��1�WD,��J7S ��?��q+I�zrPW >�*�q�M�Ԕ�Z�y� �<�b 2­��v�0!��� ��Y�}���f��=����b�l�[�^��pƤ�b�����$ԇ�%�s4 �f-�����\"q��G^>̧������# aցn�N��� (]Ӊ��w��̷�cH~��Gh�������$ϥ�� ���1M>�c�������|p���jf�gy�䚞��|�M���e�!eC�7"կn7����R(��� J1�a���o!/ᔟB��E�O/ݸ�U(��!��g��Ћ�DE^�~��7�-5��,m%N�C���y������I��C�tV,����|24�.���r� w٨J|L_�S2��|r�"x�愳�.�����=��|,[Sj�g�Iˡ�\Ox+Cӄy�O�,��!8\ia���P�����}E�E� -s��so����]P� 00:00:07,920 Were continued to make really good progress inside site application users can enter some names some 2 00:00:07,920 --> 00:00:09,840 phone number and a shift in here. 3 00:00:09,920 --> 00:00:16,650 All we do now is take those little pieces of data and save it over to firebase whenever a user presses 4 00:00:16,650 --> 00:00:18,730 the create button down here. 5 00:00:19,500 --> 00:00:21,260 Now I bet you know what's going to come next. 6 00:00:21,270 --> 00:00:27,690 We're going to create an event handler on the button whenever it is pressed we will call an action creator 7 00:00:27,990 --> 00:00:33,720 and this action creator will attempt to save our data the firebase if it is successful we will navigate 8 00:00:33,720 --> 00:00:36,450 the user back to the employee list screen. 9 00:00:36,770 --> 00:00:37,790 Give me a roadmap here. 10 00:00:37,800 --> 00:00:42,540 So we're going to hook up the button make the action create or save the record and then navigate back 11 00:00:42,540 --> 00:00:48,280 to the employee list screen where the user can then see their new employee pop up on the list. 12 00:00:48,300 --> 00:00:50,100 So it's going to be a little bit of a chunk of work. 13 00:00:50,100 --> 00:00:52,430 So let's get right down to it. 14 00:00:52,530 --> 00:00:56,300 The first thing we'll do inside of our employee create component. 15 00:00:56,400 --> 00:01:00,840 We're going to find that button and we're going to wire up an event handler on it. 16 00:01:00,840 --> 00:01:07,230 It's going to scroll down to our button and we'll put on here on Press and we'll have this call a helper 17 00:01:07,230 --> 00:01:14,160 method that we're going to create in just a second which we'll call on button press on because it is 18 00:01:14,160 --> 00:01:16,440 a callback is going to make reference to this. 19 00:01:16,440 --> 00:01:23,790 We're going to make sure to bind the context then we'll scroll back up to the top and define on button 20 00:01:24,090 --> 00:01:27,240 press. 21 00:01:27,240 --> 00:01:32,640 Now inside if we do not yet have an action create or to call we haven't really made anything to save 22 00:01:32,640 --> 00:01:34,600 or create employees anything like that. 23 00:01:34,680 --> 00:01:40,290 I'm just going to assume that we're going to make an action crater called something like you know let's 24 00:01:40,290 --> 00:01:43,800 call it employee create all that's going to be the name of our action creator. 25 00:01:43,940 --> 00:01:49,380 So I'm going to assume that we're going to call employee create with our name phone number and shift 26 00:01:49,380 --> 00:01:50,780 time. 27 00:01:50,940 --> 00:01:57,640 So I'm going to take my name phone and shift out of our prop's object. 28 00:01:59,980 --> 00:02:05,050 And then I will call this action creator that we will make in just a second called employee creates 29 00:02:05,620 --> 00:02:13,450 and I'm going to pass it an object that contains the name phone and shift. 30 00:02:13,700 --> 00:02:15,530 OK so this looks good so far. 31 00:02:15,550 --> 00:02:20,590 Let's make that action creator and then hook it up to this component. 32 00:02:20,590 --> 00:02:24,120 I'm going to open up my employee actions file. 33 00:02:24,130 --> 00:02:28,720 So inside my actions director and a fine employee actions member this is we're going to locate all the 34 00:02:28,720 --> 00:02:35,500 action creators having to do with employees in any way shape or form and we'll create the action creator 35 00:02:36,180 --> 00:02:45,160 so say expert Konst employee create and we're going to receive an object that contains a name a phone 36 00:02:45,280 --> 00:02:45,900 and a shift 37 00:02:50,420 --> 00:02:58,010 all right I'm going to flip back to our component and just immediately hook up this action creator because 38 00:02:58,010 --> 00:03:01,080 it usually ends up being the one thing that I forget to do all the time. 39 00:03:01,460 --> 00:03:09,530 So back inside of our employed create component we will import employee create from our actions file 40 00:03:10,220 --> 00:03:14,280 and then we will pass this down at the Kinect handler at the very bottom of this file. 41 00:03:14,330 --> 00:03:20,360 So scroll down to the bottom find my connect helper and this line is getting a little bit long so I 42 00:03:20,360 --> 00:03:25,060 think I'm going to newline it and I'll pass an employee create. 43 00:03:25,100 --> 00:03:30,800 So now my component has access to the action creator as this props Propst employee create and then is 44 00:03:30,860 --> 00:03:38,360 exactly how we used it inside of our on button press handler right here now whenever we use add in any 45 00:03:38,360 --> 00:03:42,910 info here send off to the action Krater just to make sure that we're going down the right path. 46 00:03:42,950 --> 00:03:50,090 I'm going to add an action creator inside or excuse me I going out a console log inside the action creator 47 00:03:50,420 --> 00:03:59,150 just to console log the value of name phone and shift or log the stuffier make sure that we're going 48 00:03:59,150 --> 00:04:00,610 down the right path. 49 00:04:02,360 --> 00:04:04,240 So I'm going to refresh the simulator now. 50 00:04:04,280 --> 00:04:06,970 And we're just going to confirm that we are like doing the right thing. 51 00:04:06,980 --> 00:04:08,510 I'll bring up my debugger. 52 00:04:08,550 --> 00:04:11,100 Here's my debugger so we can see the console log. 53 00:04:11,690 --> 00:04:15,360 And then I'll say test at test dot com password. 54 00:04:15,360 --> 00:04:17,390 You log in with some good credentials. 55 00:04:17,510 --> 00:04:20,140 And now when I get to the form I'm going to do something very pretty. 56 00:04:20,150 --> 00:04:22,140 I'm not going to touch anything here just yet. 57 00:04:22,160 --> 00:04:26,270 OK I'm going to enter only a name of Jane 58 00:04:29,960 --> 00:04:30,720 and a phone number. 59 00:04:30,720 --> 00:04:32,520 I am not going to touch shift. 60 00:04:32,530 --> 00:04:35,780 So you'll notice that I did not touch that shift picker at all. 61 00:04:35,780 --> 00:04:39,090 I didn't spin it around I didn't do a single darn thing. 62 00:04:39,470 --> 00:04:41,940 Let's create now and see what happens. 63 00:04:42,170 --> 00:04:44,960 So I get a big red error message here which is totally fine. 64 00:04:44,960 --> 00:04:47,400 It says actions must be plane objects. 65 00:04:47,500 --> 00:04:51,600 The action career that we just created is not actually returning an action. 66 00:04:51,680 --> 00:04:53,770 And so redux is complaining about that. 67 00:04:53,780 --> 00:04:54,560 That's totally fine. 68 00:04:54,560 --> 00:04:59,720 Totally what I expected but I want to point something out to you above those air messages that we got 69 00:04:59,720 --> 00:05:00,160 right here. 70 00:05:00,170 --> 00:05:06,530 We got on the log and you'll see that we have a console log with Jane which is the name the five five 71 00:05:06,530 --> 00:05:07,570 five phone number. 72 00:05:07,640 --> 00:05:10,870 But then there is no shift being logged here. 73 00:05:10,960 --> 00:05:11,570 All right. 74 00:05:11,720 --> 00:05:18,890 Let's flip back over to employee create I am con. logging shift but it appears that shift just didn't 75 00:05:18,890 --> 00:05:19,780 get logged at all. 76 00:05:19,790 --> 00:05:23,300 And what this actually means is that shift is undefined. 77 00:05:23,300 --> 00:05:25,390 Shift is undefined here. 78 00:05:25,550 --> 00:05:30,470 So clearly there is something funky going on with that picture something isn't quite behaving the way 79 00:05:30,470 --> 00:05:31,350 we expect. 80 00:05:31,400 --> 00:05:34,400 We are not getting a shift assigned in our reducer. 81 00:05:34,670 --> 00:05:38,930 So let's take a quick break and then come back and do a little bit of trouble shooting and try to figure 82 00:05:38,930 --> 00:05:42,890 out why this shift is ending up as undefined right here.