From 8040a87759746c81694d2cbd1fb82039eb0e68f0 Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Sat, 6 May 2023 00:02:56 -0600
Subject: Agregado dropdown menu de autenticación
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/components/user_account_button.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/components/user_account_button.tsx

(limited to 'src/components/user_account_button.tsx')

diff --git a/src/components/user_account_button.tsx b/src/components/user_account_button.tsx
new file mode 100644
index 0000000..2274811
--- /dev/null
+++ b/src/components/user_account_button.tsx
@@ -0,0 +1,15 @@
+import { PersonCircle } from "react-bootstrap-icons";
+import UserDropdownButton from "./user_dropdown_button";
+import LoginButton from "./login_button";
+
+export default function UserAccountButton({ token }) {
+  if(token.present()) {
+    return (
+      <UserDropdownButton/>
+    );
+  }
+
+  return (
+    <LoginButton/>
+  );
+}
\ No newline at end of file
-- 
cgit v1.2.3

