결제 정보 하단 시트 수정
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
HeaderNavigationProps
|
||||
} from '@/entities/common/model/types';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { ChangeEvent, useEffect, useState } from 'react';
|
||||
|
||||
export const HeaderNavigation = ({
|
||||
onBack,
|
||||
@@ -45,6 +45,10 @@ export const HeaderNavigation = ({
|
||||
const onClickToGoToAlarm = () => {
|
||||
navigate(PATHS.alarm.list);
|
||||
};
|
||||
const onChangeToMid = (e: ChangeEvent<HTMLSelectElement>) => {
|
||||
let value = e.target.value;
|
||||
useStore.getState().UserStore.setMid(value);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
let mids = useStore.getState().UserStore.selectOptionsMids;
|
||||
@@ -73,7 +77,10 @@ export const HeaderNavigation = ({
|
||||
<div className="header-left">
|
||||
<h1 className="app-title blind">나이스가맹점관리자</h1>
|
||||
<div className="input-wrapper">
|
||||
<select className="heading-select">
|
||||
<select
|
||||
className="heading-select"
|
||||
onChange={ onChangeToMid }
|
||||
>
|
||||
{ selectOptions && selectOptions.length > 0 &&
|
||||
selectOptions.map((value, index) => (
|
||||
<option
|
||||
|
||||
Reference in New Issue
Block a user