mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Refactor getLanguage
This commit is contained in:
parent
cba0a57ce3
commit
e0e1e4fde7
4 changed files with 3 additions and 8 deletions
|
@ -42,7 +42,7 @@ export function setLanguage(newLng: string | undefined) {
|
|||
}
|
||||
|
||||
export function getLanguage() {
|
||||
return currentLanguage.lng;
|
||||
return currentLanguage;
|
||||
}
|
||||
|
||||
function findPartsForData(data: any, parts: string[]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue