localStorage may run out of space due to courses and professors being duplicated under |{key} and {userId}|{key} if the user tries searching before logging in. This will cause search to break.
This change disassociates said keys from user identity and ensures the old user-bound copies are deleted from localStorage, so that the new unified copy may have space to be stored.
localStorage
may run out of space due tocourses
andprofessors
being duplicated under|{key}
and{userId}|{key}
if the user tries searching before logging in. This will cause search to break.This change disassociates said keys from user identity and ensures the old user-bound copies are deleted from
localStorage
, so that the new unified copy may have space to be stored.