mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Replace let
with const
This commit is contained in:
parent
4343852b83
commit
8eeab22ecd
@ -5,8 +5,8 @@ import { socketQueueItemStatusChanged } from 'services/events/actions';
|
|||||||
|
|
||||||
const log = logger('socketio');
|
const log = logger('socketio');
|
||||||
|
|
||||||
const updatePageTitle = (itemStatus: string)=> {
|
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;
|
document.title = itemStatus === 'in_progress' ? `(1) ${baseString}` : baseString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user