mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
refactor: consolidate auth logic into helper, add letter E2E tests,
This commit is contained in:
@@ -273,6 +273,7 @@ export default function Editor() {
|
||||
type="button"
|
||||
className="btn btn-sm btn-circle btn-ghost absolute right-2 top-2"
|
||||
onClick={() => setShareLink(null)}
|
||||
aria-label="Close"
|
||||
>
|
||||
<XCircleIcon size={18} weight="bold" />
|
||||
</button>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function Login() {
|
||||
});
|
||||
|
||||
// store the auth related data
|
||||
setAuthStore(authData.access, userData, masterKey);
|
||||
await setAuthStore(authData.access, userData, masterKey);
|
||||
|
||||
navigate(ROUTES.DRAWER);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user