NodeGroup2 / autocomplete-project

An autocomplete app
https://nodetojoy-autocomplete.herokuapp.com/
MIT License
0 stars 2 forks source link

Clear prefixMatch array every time a new request is sent to the server. #29

Closed marisid closed 7 years ago

marisid commented 7 years ago

At the moment, prefixMatches array keeps track of any pre-existing matches.

marisid commented 7 years ago

This has to do with the empty endpoint which returns the first five words in the dictionary.