Skip to content

Commit 7b2c87c

Browse files
committed
fixed bad merge conflict
1 parent cd079f0 commit 7b2c87c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

website/docs/foundations/tokens/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const getAliases = (token, TOKENS_RAW) => {
1616
const path = token.path.join('.');
1717
return TOKENS_RAW.filter(
1818
// note: also the original value is prefixed with `$`
19-
(item) => item.original.$value === `{${path}.value}`
19+
(item) => item.original.$value === `{${path}.value}`,
2020
).map((alias) => `{${alias.path.join('.')}}`);
2121
};
2222

@@ -52,13 +52,9 @@ export default class Index extends Component {
5252
const filteredTokens = this.groupedTokens[category].filter(
5353
(t) =>
5454
t.name.indexOf(this.searchQuery) !== -1 ||
55-
<<<<<<< HEAD
5655
// note: we prefix `value` with `$` because we're using the DTCG format
5756
// we also convert it to string, because in some cases it's a number
58-
String(t.$value).indexOf(this.searchQuery) !== -1
59-
=======
60-
t.value.indexOf(this.searchQuery) !== -1,
61-
>>>>>>> e233399e2 (replace instances of with)
57+
String(t.$value).indexOf(this.searchQuery) !== -1,
6258
);
6359

6460
if (filteredTokens.length > 0) {

0 commit comments

Comments
 (0)