Çıkış Yap Butonu navbar'a taşındı
This commit is contained in:
@@ -759,10 +759,7 @@
|
||||
<line x1="3" y1="18" x2="21" y2="18" />
|
||||
</svg>
|
||||
</button>
|
||||
<button class="btn btn-inactive" on:click={handleLogout}>
|
||||
Çıkış Yap
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Ayırıcı -->
|
||||
|
||||
@@ -259,11 +259,7 @@
|
||||
return type === 'benzin' ? 'Benzin' : 'Motorin';
|
||||
}
|
||||
|
||||
function handleLogout() {
|
||||
localStorage.removeItem('user');
|
||||
goto('/');
|
||||
}
|
||||
|
||||
|
||||
function goBack() {
|
||||
goto('/dashboard');
|
||||
}
|
||||
|
||||
@@ -168,11 +168,7 @@
|
||||
return 'priority-low';
|
||||
}
|
||||
|
||||
function handleLogout() {
|
||||
localStorage.removeItem('user');
|
||||
goto('/');
|
||||
}
|
||||
|
||||
|
||||
function goBack() {
|
||||
goto('/dashboard');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user