<script setup lang="ts">
import { addNewMessage } from "@/services/popupDisplayer.ts";
</script>

<template>
    <button
        @click="
            addNewMessage(
                'new error from another view',
                Math.floor(Math.random() * 4)
            )
        "
    >
        Add an error
    </button>
</template>

<style scoped></style>
