Delete MainComponent