Triggered when a location is set as default.
function onLocationSetDefaultLocation(handler: function): void;
handler(event: LocationSetDefaultLocationEnvelope): void | Promise<void>
import { locations } from "@wix/business-tools";
locations.onLocationSetDefaultLocation((event) => {
// handle your event here
});