diff --git a/src/components/UserProfileComponents/UserItems.vue b/src/components/UserProfileComponents/UserItems.vue
index 63c8c1416af01cacec0eb958cc9cee2bcbb4faff..418a4f22fa9e684959fe6cfa2d5033c7ce5671c3 100644
--- a/src/components/UserProfileComponents/UserItems.vue
+++ b/src/components/UserProfileComponents/UserItems.vue
@@ -58,7 +58,9 @@
             >
               <li>
                 <button
-                  @click="this.$router.push('/item/' + item.listingID + '/edit')"
+                  @click="
+                    this.$router.push('/item/' + item.listingID + '/edit')
+                  "
                   class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
                 >
                   Rediger gjenstand
@@ -121,7 +123,9 @@
             >
               <li>
                 <button
-                  @click="this.$router.push('/item/' + item.listingID + '/edit')"
+                  @click="
+                    this.$router.push('/item/' + item.listingID + '/edit')
+                  "
                   class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
                 >
                   Rediger gjenstand