diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/addresses_table.tsx | 2 | ||||
-rw-r--r-- | src/components/main_page_dropdown_menu.tsx | 1 | ||||
-rw-r--r-- | src/components/payment_methods_table.tsx | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/components/addresses_table.tsx b/src/components/addresses_table.tsx index f55c04a..3f0a323 100644 --- a/src/components/addresses_table.tsx +++ b/src/components/addresses_table.tsx @@ -16,7 +16,7 @@ export default function AddressesTable({ addresses }) { Nueva dirección </a> </div> - <table className="w-full text-sm text-left text-gray-500 dark:text-gray-400"> + <table className="my-4 w-full text-sm text-left text-gray-500 dark:text-gray-400"> <thead className="bg-blue-arma text-xs text-white uppercase dark:bg-gray-700 dark:text-gray-400"> <tr> <th scope="col" className="px-6 py-3"> diff --git a/src/components/main_page_dropdown_menu.tsx b/src/components/main_page_dropdown_menu.tsx index 8c043a8..16fb302 100644 --- a/src/components/main_page_dropdown_menu.tsx +++ b/src/components/main_page_dropdown_menu.tsx @@ -1,6 +1,7 @@ import UserAccountButton from "./user_account_button"; import { LoginForm } from "./forms/login_form"; import Token from "../lib/token"; +import { refreshIfExpired, isUserAuthenticated } from "../lib/session"; import UserAccountDropdownMenu from "./user_account_dropdown_menu"; export default function MainPageDropdownMenu() { diff --git a/src/components/payment_methods_table.tsx b/src/components/payment_methods_table.tsx index f4c9f3e..4fda4b3 100644 --- a/src/components/payment_methods_table.tsx +++ b/src/components/payment_methods_table.tsx @@ -17,7 +17,7 @@ export default function PaymentMethodsTable({ payment_methods }) { Nuevo método de pago </a> </div> - <table className="w-full text-sm text-left text-gray-500 dark:text-gray-400"> + <table className="my-4 w-full text-sm text-left text-gray-500 dark:text-gray-400"> <thead className="bg-blue-arma text-xs text-white uppercase dark:bg-gray-700 dark:text-gray-400"> <tr> <th scope="col" className="px-6 py-3"> |