46 Commits

Author SHA1 Message Date
Luis Alvarez
3644d637dd Improve error handling for hooks 2020-10-22 15:57:33 -05:00
Luis Alvarez
e4a99601f5 Updated types, API, and make the signup work 2020-10-22 13:25:44 -05:00
Luis Alvarez
2804627aef Updated defaults in all hooks 2020-10-21 10:35:49 -05:00
Luis Alvarez
d98897a7e3 Added useCustomer hook 2020-10-21 10:23:05 -05:00
Luis Alvarez
a1e47a73d2 Added useLogin hook and API endpoint 2020-10-20 22:27:38 -05:00
Luis Alvarez
e2b26715b9 use-signup 2020-10-20 13:49:37 -05:00
Luis Alvarez
ef81a968af Fix potential body bug 2020-10-20 13:49:17 -05:00
Belen Curcio
26535b7c7f Adding Modal Component and Login View 2020-10-19 15:22:48 -03:00
Belen Curcio
06234ae6c4 Changes to hook 2020-10-19 11:23:53 -03:00
Belen Curcio
014d195463 Adding Search Skeleton 2020-10-15 12:12:28 -03:00
Luis Alvarez
ee6b65725f Search 2020-10-13 07:07:35 -05:00
Luis Alvarez
d4f09d3590 Add util hooks for creating hooks 2020-10-13 04:46:41 -05:00
Luis Alvarez
beed2d23e0 Added useSearch hook 2020-10-13 03:49:24 -05:00
Luis Alvarez
1629f718b0 usePrice hook 2020-10-12 22:15:53 -05:00
Luis Alvarez
6595b3de96 Type fixes 2020-10-11 02:04:26 -05:00
Luis Alvarez
48e4cef4e7 add single module for useCart 2020-10-09 17:21:39 -05:00
Luis Alvarez
939bc388bb Allow custom swr 2020-10-09 17:18:02 -05:00
Luis Alvarez
22ba0d7315 Updated useCart hook 2020-10-09 12:58:49 -05:00
Luis Alvarez
7758ea3199 Removed the CartProvider 2020-10-09 11:26:39 -05:00
Luis Alvarez
b5ee7feb46 Fixed commerce config types 2020-10-09 11:17:54 -05:00
Luis Alvarez
eb3f29fa95 updated the useUpdateItem hook 2020-10-09 11:10:58 -05:00
Luis Alvarez
cc0e62cd7e Updated the useRemoveItem hook 2020-10-09 10:44:54 -05:00
Luis Alvarez
c2096a8ab4 Make use-add-item hook extendable 2020-10-09 10:36:23 -05:00
Luis Alvarez
6dca1eadd2 Update Next and make the CartProvider not required anymore 2020-10-08 22:17:40 -05:00
Luis Alvarez
5c4f3e7ff2 Memoize functions in commerce hooks and debounce update 2020-10-08 20:36:31 -05:00
Luis Alvarez
3ac6805ebe bug fixes for cart actions 2020-10-07 15:08:17 -05:00
Luis Alvarez
0483e97954 Fix cart provider 2020-10-06 21:00:36 -05:00
Luis Alvarez
21d5a8ea57 Added use-cart-actions hook 2020-10-05 21:57:38 -05:00
Luis Alvarez
289c2948d6 Added remove item from cart hook 2020-10-05 12:35:55 -05:00
Luis Alvarez
486c50a68b Added update item hook 2020-10-05 11:46:56 -05:00
Luis Alvarez
554d34b53b Added comment about memoized cart 2020-10-05 11:15:32 -05:00
Luis Alvarez
c782b3d0f0 Memoize commerce config 2020-10-05 10:49:22 -05:00
Luis Alvarez
f8df1c1879 Fixed bugs and updated hooks 2020-10-05 00:39:54 -05:00
Luis Alvarez
a3cf05fbd2 Fetch the cart! 2020-10-04 21:20:52 -05:00
Luis Alvarez
6c378d98ea Updated hooks 2020-10-04 13:46:28 -05:00
Luis Alvarez
0ad9ac0d5d Hook changes 2020-10-04 13:12:41 -05:00
Luis Alvarez
ca959f6491 Added add to cart method 2020-10-03 20:49:09 -05:00
Luis Alvarez
ec1377850e Updated cart hook 2020-10-03 19:59:15 -05:00
Luis Alvarez
c9f540cbd0 Added api builder 2020-10-03 16:06:41 -05:00
Luis Alvarez
7273c4deb3 Updated hooks 2020-10-03 06:45:09 -05:00
Belen Curcio
f536dab1a2 build changes 2020-10-02 12:59:50 -03:00
Luis Alvarez
0ef6449aff Apply prettier over all files 2020-10-01 20:40:40 -05:00
Luis Alvarez
2971b4f802 Use functions instead of a class 2020-09-30 21:08:25 -05:00
Luis Alvarez
af38839384 Added custom image sizes 2020-09-30 15:59:46 -05:00
Luis Alvarez
b9be9ea749 Use the query 2020-09-30 13:36:02 -05:00
Luis Alvarez
eb44455cde Changes 2020-09-30 11:44:38 -05:00