fixed deletePost component to only sendAction