mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-23 04:19:48 +00:00
Fix logic code relative user and room
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user