Skip to content

Commit

Permalink
Chore: updated sveltekit and svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
gagansuie committed Jul 15, 2024
1 parent 3d42657 commit d7b8959
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"@playwright/test": "1.45.0",
"@sveltejs/adapter-cloudflare": "^4.0.1",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
Expand All @@ -32,7 +32,7 @@
"postcss-cli": "^11.0.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.1",
"svelte": "^4.2.8",
"svelte": "^4.2.18",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^6.0.0",
"swiper": "^11.0.1",
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/Profile/DrawerEditProfile.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import { enhance } from '$app/forms'
import { goto } from '$app/navigation'
import { page } from '$app/stores'
import DrawerAddCategory from '$lib/components/Browse/DrawerAddCategory.svelte'
import { category_list } from '$lib/stores/channelStore'
Expand Down
2 changes: 0 additions & 2 deletions src/routes/[username]/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ export const actions = {
const username = data.get('username')
return fail(422, { username, exists: true })
} else {
locals.user.user = updatedUser
// redirect(303, `/${updatedUser.username}`)
return { success: true }
}
},
Expand Down

0 comments on commit d7b8959

Please sign in to comment.