diff --git a/api/app/Http/Controllers/ProfileController.php b/api/app/Http/Controllers/ProfileController.php index 63ef7d5..c762cf6 100644 --- a/api/app/Http/Controllers/ProfileController.php +++ b/api/app/Http/Controllers/ProfileController.php @@ -82,7 +82,7 @@ class ProfileController extends Controller ]); } - public function updateAvatar(Request $request) + public function uploadAvatar(Request $request) { $request->validate([ "avatar" => "required|image|mimes:jpeg,png,jpg,gif|max:2048", diff --git a/frontend/src/pages/game/SinglePlayerGamePage.vue b/frontend/src/pages/game/SinglePlayerGamePage.vue index 9126ae5..5cabe93 100644 --- a/frontend/src/pages/game/SinglePlayerGamePage.vue +++ b/frontend/src/pages/game/SinglePlayerGamePage.vue @@ -1,47 +1,33 @@ - + 🏳️ Surrender - + Preparing game... - + :is-logging-out="store.isLoggingOut" @play-again="handlePlayAgain" @close="handleCloseModal" />