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
@@ -11,7 +11,7 @@ const props = defineProps({
const { animation, transition, teleport, onClick } = useTeleport(props.id)
const changeAnimation = () => {
function changeAnimation() {
animation.value = animation.value === 'fade' ? 'shrink' : 'fade'
}
</script>
@@ -7,7 +7,7 @@ import { nextTick, ref } from 'vue'
* Animations that resize a node need to call the `updateNodeDimensions` function from store to update node handle positions
* Otherwise edges do not connect properly
*/
export const useTeleport = (id) => {
export function useTeleport(id) {
const animation = ref('fade')
const transition = ref(false)
const teleport = ref(null)