mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-31 03:46:50 +00:00 
			
		
		
		
	added stars back
This commit is contained in:
		| @@ -142,7 +142,7 @@ class ReviewCard extends HTMLElement { | ||||
|     for (let i = 0; i < data['tags'].length; i++) { | ||||
|       let newTag = document.createElement('label'); | ||||
|       newTag.setAttribute('class','tag'); | ||||
|       newTag.innerHTML = data['tags'][i] + " "; | ||||
|       newTag.innerHTML = data['tags'][i] + "   "; | ||||
|       tagContainer.append(newTag); | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -19,4 +19,4 @@ export function getReviewsFromStorage() { | ||||
|  */ | ||||
| export function saveReviewsToStorage(reviews) { | ||||
| 	localStorage.setItem('reviews', JSON.stringify(reviews)); | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -46,4 +46,4 @@ describe("test app localStorage interaction", () => { | ||||
| 			assert.deepEqual(getReviewsFromStorage(), reviews); | ||||
| 		} | ||||
| 	}); | ||||
| }); | ||||
| }); | ||||
|   | ||||
| @@ -112,4 +112,4 @@ function initFormHandler() { | ||||
|     } | ||||
|   }); | ||||
|  | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -25,4 +25,4 @@ function environment () { | ||||
| 	let window = {}; | ||||
| 	Object.defineProperty(window, "localStorage", { value: localStorageMock }); | ||||
| 	return window; | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user