Replace let with const

This commit is contained in:
Daniel Abrao 2024-04-12 00:18:20 -03:00 committed by psychedelicious
parent 4343852b83
commit 8eeab22ecd

View File

@ -6,7 +6,7 @@ import { socketQueueItemStatusChanged } from 'services/events/actions';
const log = logger('socketio');
const updatePageTitle = (itemStatus: string) => {
let baseString: string = document.title.replace('(1) ', '');
const baseString: string = document.title.replace('(1) ', '');
document.title = itemStatus === 'in_progress' ? `(1) ${baseString}` : baseString;
}