chore: lint files

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-31 21:30:23 +02:00
committed by Braks
parent 9d597ff454
commit f61e5beb02
69 changed files with 623 additions and 424 deletions
@@ -5,11 +5,11 @@ const flowKey = 'example-flow'
const { nodes, addNodes, setNodes, setEdges, dimensions, setTransform, toObject } = useVueFlow()
const onSave = () => {
function onSave() {
localStorage.setItem(flowKey, JSON.stringify(toObject()))
}
const onRestore = () => {
function onRestore() {
const flow = JSON.parse(localStorage.getItem(flowKey))
if (flow) {
@@ -20,7 +20,7 @@ const onRestore = () => {
}
}
const onAdd = () => {
function onAdd() {
const id = nodes.value.length + 1
const newNode = {