veza/apps/web/dist_verification/assets/usePasswordReset-CSqFXQtE.js
senke 203cb5d5e5 refactor: Phase 8 — Update docs, ESLint, Storybook config for SUMI
- DESIGN_TOKENS.md: Complete rewrite to document --sumi-* token system
- APP_SHELL.md: Update layout shell docs (glass bg, backdrop-blur, z-index)
- DESIGN_DIRECTION.md: Update aesthetic direction to SUMI philosophy
- .storybook/preview.tsx: Remove deleted CSS imports, update bg colors
- eslint.config.js: Update color rule message from Kodo to SUMI tokens
- tailwind.config.ts: Fix comment referencing deleted design-tokens.css

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 02:15:11 +01:00

1 line
460 B
JavaScript

import{a as l}from"./vendor-react-Dkpvlwai.js";import{w as c}from"./index-jE2AGx2y.js";function h(){const[n,s]=l.useState(!1),[u,t]=l.useState(null),[o,e]=l.useState(!1);return{handleRequestReset:async a=>{try{s(!0),t(null),e(!1),await requestPasswordReset(a),e(!0)}catch(r){t(r),e(!1)}finally{s(!1)}},handleReset:async a=>{try{s(!0),t(null),e(!1),await c.resetPassword(a),e(!0)}catch(r){t(r),e(!1)}finally{s(!1)}},loading:n,error:u,success:o}}export{h as u};