fix: rename some references

This commit is contained in:
thecodrr
2019-12-02 10:28:54 +05:00
parent 03dd9921e7
commit ff9480c2ef
5 changed files with 4 additions and 99 deletions

View File

@@ -12,7 +12,7 @@ function Menu(props) {
<Box>
{props.menuItems.map(item => (
<Flex
key={v.title}
key={item.title}
onClick={() => {
if (props.dropdownRef) {
props.dropdownRef.hide();
@@ -26,14 +26,14 @@ function Menu(props) {
py={1}
px={2}
sx={{
color: v.color || "fontPrimary",
color: item.color || "fontPrimary",
":hover": {
backgroundColor: "accent",
color: "fontSecondary"
}
}}
>
<v.icon size={15} strokeWidth={1.5} />
<item.icon size={15} strokeWidth={1.5} />
<Text
className="unselectable"
as="span"