Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Remove nullish coalescing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemolland committed Oct 4, 2021
1 parent afe6dab commit ffb9395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gameflow-tv/flume",
"version": "0.3.11",
"version": "0.3.12",
"description": "React implementation of the Flume design system",
"module": "dist/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/inputs/Calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
const getFirstDayOfWeek = () => {
let lang = 'en-gb'
if (typeof window !== 'undefined') {
lang = navigator?.language?.toLowerCase() ?? 'en-gb'
lang = navigator.language.toLowerCase()
}

switch (lang) {
Expand Down

0 comments on commit ffb9395

Please sign in to comment.