mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-29 03:56:56 -05:00
fix: remove unnecessary code
This commit is contained in:
@@ -108,10 +108,6 @@ watch(newCountry, () => {
|
||||
newRegion.value = newCountry.value * (2 ** 24);
|
||||
});
|
||||
|
||||
watchOnce(newRegion, () => {
|
||||
newCountry.value = ((newRegion.value || 0) >>> 24) & 0xff;
|
||||
});
|
||||
|
||||
watch(newRegion, (o, n) => {
|
||||
if ((((o || 0) >>> 24) & 0xff) === (((n || 0) >>> 24) & 0xff)) {
|
||||
// same country so we leave the timezone as is, else we might override the user's choice.
|
||||
|
||||
Reference in New Issue
Block a user