✨ (notification) stop spamming on start and resume
This commit is contained in:
@@ -33,7 +33,6 @@ export const useTimer = () => {
|
||||
|
||||
const start = () => {
|
||||
timeState.value = 'started'
|
||||
notify(seconds.value ? 'La session reprend !' : 'La session commence !')
|
||||
|
||||
stopwatchId = setInterval(() => {
|
||||
seconds.value++
|
||||
@@ -43,7 +42,7 @@ export const useTimer = () => {
|
||||
|
||||
const dev = isProgrammer1Turn.value ? 'Dev 1' : 'Dev 2'
|
||||
|
||||
notify('Changement de joueur !', {
|
||||
notify('Changement !', {
|
||||
body: `${dev}, à votre tour !`
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user