diff --git a/client/src/components/forms/input/constants.ts b/client/src/components/forms/input/constants.ts index 6d0ec95..fd55d38 100644 --- a/client/src/components/forms/input/constants.ts +++ b/client/src/components/forms/input/constants.ts @@ -17,10 +17,10 @@ export const THEME = { light: { base: 'w-full leading-tight text-grey-0 bg-white focus:border-grey-40', status: { - none: 'border-grey-0', + none: 'border-grey-40', valid: 'border-green-0', error: 'border-red-500', - disabled: 'border-grey-0 opacity-50', + disabled: 'border-grey-40 opacity-50', }, icon: 'text-grey-0 text-opacity-50', mode: { diff --git a/client/src/components/search/component.tsx b/client/src/components/search/component.tsx index f3f5f0c..901d6ed 100644 --- a/client/src/components/search/component.tsx +++ b/client/src/components/search/component.tsx @@ -57,6 +57,7 @@ export const Search: React.FC = ({ className={cx({ 'w-full h-full py-3 px-4': true, [THEME[theme]]: true, + '!border-grey-0': true, })} onChange={handleChange} /> diff --git a/client/src/containers/wrapper/component.tsx b/client/src/containers/wrapper/component.tsx index 486547e..1042168 100644 --- a/client/src/containers/wrapper/component.tsx +++ b/client/src/containers/wrapper/component.tsx @@ -8,7 +8,7 @@ export interface WrapperProps { export const AuthWrapper = ({ children }: WrapperProps) => { return ( -
+
{children}
); diff --git a/client/src/services/authentication/index.ts b/client/src/services/authentication/index.ts index 9bc6762..8d251e1 100644 --- a/client/src/services/authentication/index.ts +++ b/client/src/services/authentication/index.ts @@ -15,12 +15,7 @@ class AuthenticationService { async signIn(email: string, password: string) { try { - const response = await this.api.request({ - url: '/member/sign_in', - method: 'POST', - data: { email, password }, - }); - return response; + return await this.api.post('/member/sign_in', { email, password }); } catch (err) { this.handleApiError(err, 'Failed to sign in'); } @@ -28,8 +23,7 @@ class AuthenticationService { async forgotPassword(email: string) { try { - const response = await this.api.post('/reset_password', { data: { email } }); - return response; + return await this.api.post('/reset_password', { email }); } catch (err) { this.handleApiError(err, 'Failed to process password reset'); }