Skip to content

Commit c681074

Browse files
authored
Merge pull request #3264 from bluewave-labs/feat/v2-set-new-password
feat: v2 set new password
2 parents 20d4f2c + b47e17f commit c681074

File tree

14 files changed

+205
-1056
lines changed

14 files changed

+205
-1056
lines changed

client/src/Components/v2/design-elements/BasePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const MonitorBasePageWithStates = ({
177177
error={error}
178178
{...props}
179179
>
180-
{priorityFallback}
180+
<Stack height={"100%"}>{priorityFallback}</Stack>
181181
</BasePage>
182182
);
183183
}

client/src/Components/v2/design-elements/BulletPointCheck.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const BulletPointCheck = ({
2727
<Check
2828
size={16}
2929
strokeWidth={1.5}
30+
color={variant === "info" ? theme.palette.text.secondary : colors[variant]}
3031
style={{
3132
flexShrink: 0,
3233
}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {
2+
setNewPasswordSchema,
3+
type SetNewPasswordFormData,
4+
} from "@/Validation/setNewPassword";
5+
6+
export const useSetNewPasswordForm = () => {
7+
const defaults: SetNewPasswordFormData = {
8+
password: "",
9+
confirm: "",
10+
};
11+
12+
return {
13+
schema: setNewPasswordSchema,
14+
defaults,
15+
};
16+
};

client/src/Pages/Auth/CheckEmail.jsx

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)