Fix logic code relative user and room

This commit is contained in:
2023-11-04 19:47:41 +07:00
parent 938fbb069e
commit aeb1923e40
18 changed files with 343 additions and 103 deletions
@@ -8,13 +8,13 @@ const StyledMenu = styled.div`
`;
const StyledButton = styled.button`
width: 100%;
text-align: left;
background: none;
border: none;
padding: 10px 20px;
font-size: var(--fs-sm-x);
transition: all 0.2s;
width: 100%;
display: flex;
align-items: center;
@@ -60,6 +60,7 @@ const StyledList = styled.ul`
right: -10px;
top: 40px;
width: max-content;
`;
export { StyledMenu, StyledButton, StyledList, StyledToggle };
@@ -54,7 +54,6 @@ const RenderSelect = ({
id={id}
value={value}
{...register(id!, optionsConfigForm)}
onChange={onChange}
>
{children}
</StyledSelect>