I\'m trying to create a table with data from local storage if there is already a data stored in local storage. but when I do that, it renders correct table at first, but after c