add some functions that get a component and remove it from the store
typo correction