<script>
    function refreshPage() {
        window.location.reload();
    }
</script>

<style>
    .back-btn {
        margin-right: 1rem;
        font-size: 1.5rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem;
        height: 1.5rem;
        background-color: transparent;
        border: none;
        outline: none;
    }
    .back-btn:hover {
        color: rgba(0, 0, 0, 0.8);
    }
    .icon {
        pointer-events: none;
    }
</style>

<button class="back-btn" on:click={refreshPage}>
    <span class="icon">&#x2190;</span>
</button>
