diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-16 13:19:37 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-17 18:38:08 -0400 |
commit | 0f406a2305421a69151e53af3c41350d9b976cc8 (patch) | |
tree | a472e1e4187f681b7d1fb02597e810b847a7be12 /src | |
parent | 593347d11dfa0d7c9d32cb79c2639041ce07d849 (diff) |
comment out logs and removed unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/components/search/SearchBar.tsx | 4 | ||||
-rw-r--r-- | src/components/search/SearchCategories.tsx | 18 |
2 files changed, 2 insertions, 20 deletions
diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index 1a855f20..1d0021ad 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -70,8 +70,8 @@ const SearchBar: React.FC<SearchBarProps> = ({ // TODO: FIGURE OUT WHY CHANGES IN placeholderId ARE NOT REFLECTED HERE // my thought: the value is set when the function is defined, so it keeps // its inital value of -1 forever. - console.log(`Previous ID: ${placeholderId}`); - console.log(`Next ID: ${nextId}`); + // console.log(`Previous ID: ${placeholderId}`); + // console.log(`Next ID: ${nextId}`); setPlaceholderId(nextId); }; diff --git a/src/components/search/SearchCategories.tsx b/src/components/search/SearchCategories.tsx index 4bae27c2..c747b34f 100644 --- a/src/components/search/SearchCategories.tsx +++ b/src/components/search/SearchCategories.tsx @@ -73,23 +73,5 @@ const styles = StyleSheet.create({ flexWrap: 'wrap', justifyContent: 'space-evenly', }, - buttonContainer: { - backgroundColor: 'transparent', - width: 158, - height: 37, - borderRadius: 20, - borderColor: 'transparent', - borderWidth: 1, - flexDirection: 'row', - alignContent: 'center', - justifyContent: 'center', - }, - buttonText: { - fontWeight: '400', - fontSize: 15, - lineHeight: 17.9, - alignSelf: 'center', - color: 'white', - }, }); export default SearchCategories; |