<script setup>
defineProps({
  alert: Object
})
</script>

<template>
  <div v-if="alert?.status && Number(alert.status) >= 400" class="mb-3">
    <div class="alert alertError">
      <div class="alertContent">
        <h3 class="alertTitle">{{ alert.status }}</h3>
        <p class="alertText">{{ alert.message }}</p>
      </div>
    </div>
  </div>
</template>