수정
This commit is contained in:
@@ -39,7 +39,7 @@ export const InfoWrap = () => {
|
||||
const midOptions = useStore.getState().UserStore.selectOptionsMids;
|
||||
const userMid = useStore.getState().UserStore.mid;
|
||||
let midItem = midOptions.filter((value, index) => {
|
||||
return value.value === userMid;
|
||||
return value.value === userMid;
|
||||
});
|
||||
|
||||
const [mid, setMid] = useState<string>((midItem.length > 0)? userMid: '');
|
||||
|
||||
@@ -125,7 +125,7 @@ export const CalendarWrap = () => {
|
||||
<div className="calendar-wrap pt-30">
|
||||
<div className="input-wrapper top-select">
|
||||
<select
|
||||
value={ mid }
|
||||
value={ mid }
|
||||
onChange={ (e: ChangeEvent<HTMLSelectElement>) => setMid(e.target.value) }
|
||||
>
|
||||
{
|
||||
|
||||
@@ -257,7 +257,6 @@ export interface ShortcutSaveResponse {
|
||||
};
|
||||
export interface ShortcutUserParams {
|
||||
usrid: string;
|
||||
subUserLevel?: string;
|
||||
};
|
||||
export interface ShortcutUserResponse {
|
||||
shortcuts: Array<Shortcuts>;
|
||||
|
||||
Reference in New Issue
Block a user