<script>
import { defineComponent } from "vue";
import RegionSelect from "./barrio/RegionSelect.vue";
import BarrioSelect from "./barrio/BarrioSelect.vue";
import { mapActions } from "vuex";

export default defineComponent({
    components: { BarrioSelect, RegionSelect },
    methods: {
        ...mapActions("login", ["getRegiones"]),
    },
    async mounted() {
        await this.getRegiones();
    },
})
</script>

<template>
    <div class="block">
        <region-select></region-select>
        <barrio-select></barrio-select>
    </div>
</template>

<style scoped>
</style>
