Remove Svelte upgrade compatibility code
This commit is contained in:
1 parent
1956790dde
commit
672a19f8f6
19 files changed
+105
-110
No files matched your search
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { preventDefault } from 'svelte/legacy';
|
||||
import { countries } from "country-data-list";
|
||||
import { get_misc_vat_rate, put_user } from "lib/NovaAPI";
|
||||
import { payment_providers, type CheckoutState } from "./CheckoutLib";
|
||||
@@ -59,7 +58,7 @@ const format_country = (c: typeof countries.all[0]) => {
|
||||
Please pick your country of residence
|
||||
</div>
|
||||
<div>
|
||||
<form onsubmit={preventDefault(set_country)} class="country_form">
|
||||
<form onsubmit={set_country} class="country_form">
|
||||
<div class="country_search">
|
||||
<datalist id="country_picker">
|
||||
{#each countries.all.filter(c => c.status === "assigned") as c}
|
||||
|
||||
Reference in new issue
Block a user