style fix and fmt

+ update deps
This commit is contained in:
Shiny Nematoda 2024-03-10 13:38:50 +00:00
parent ab9ebbced0
commit a64217ed4d
5 changed files with 284 additions and 242 deletions

View file

@ -26,7 +26,7 @@ onMounted(() => {
animation: 150,
onUpdate: ({ oldIndex, newIndex }) => {
const { urls } = data.state;
urls.splice(newIndex-1, 0, urls.splice(oldIndex-1, 1)[0]);
urls.splice(newIndex - 1, 0, urls.splice(oldIndex - 1, 1)[0]);
data.state.urls = urls;
},
});