Run prettier

This commit is contained in:
Antti Sonkeri 2024-07-28 17:05:30 +03:00
parent 9f58bddcbe
commit 14664a5911
3 changed files with 16 additions and 16 deletions

View File

@ -12,14 +12,14 @@ const Wrapper = styled.div`
}
}
li {
display: flex;
align-items: center;
border: 1px solid ${(props) => props.theme.text};
border-radius: 5px;
padding-inline: 5px;
background: ${(props) => props.theme.sidebar.bg};
}
li {
display: flex;
align-items: center;
border: 1px solid ${(props) => props.theme.text};
border-radius: 5px;
padding-inline: 5px;
background: ${(props) => props.theme.sidebar.bg};
}
`;
export default Wrapper;

View File

@ -39,13 +39,13 @@ const TagList = ({ tags, onTagRemove, onTagAdd }) => {
<ul className="flex flex-wrap gap-1">
{tags && tags.length
? tags.map((_tag) => (
<li key={_tag}>
<span>{_tag}</span>
<button tabIndex={-1} onClick={() => onTagRemove(_tag)}>
<IconX strokeWidth={1.5} size={20} />
</button>
</li>
))
<li key={_tag}>
<span>{_tag}</span>
<button tabIndex={-1} onClick={() => onTagRemove(_tag)}>
<IconX strokeWidth={1.5} size={20} />
</button>
</li>
))
: null}
</ul>
{isEditing ? (

View File

@ -1767,7 +1767,7 @@ export const collectionsSlice = createSlice({
item.draft.request.tags = item.draft.request.tags.filter((t) => t !== tag.trim());
}
}
},
}
}
});