Changed the file structure for composer to work. The composer.json should be in the root folder for composer to be able to detect it.
Also fixed a problem when removing the widget. It seems that clicking Remove current widget button doesn't really do anything because of the store id that it was receiving from the frontend.
Also took the liberty of fixing the Use selected widget and Remove current widget buttons showing up even though there's no widget selected.
Changed the file structure for composer to work. The composer.json should be in the root folder for composer to be able to detect it.
Also fixed a problem when removing the widget. It seems that clicking Remove current widget button doesn't really do anything because of the store id that it was receiving from the frontend.
Also took the liberty of fixing the Use selected widget and Remove current widget buttons showing up even though there's no widget selected.