| 180 | ); |
| 181 | |
| 182 | let updateLocale = locale => { |
| 183 | setLocale(locale); |
| 184 | let pref = preferences.find(p => p.locale === locale); |
| 185 | if (pref) { |
| 186 | setCalendar(pref.ordering.split(' ')[0]); |
| 187 | } |
| 188 | }; |
| 189 | return ( |
| 190 | <div |
| 191 | className={style({display: 'flex', flexDirection: 'column', gap: 16, alignItems: 'center'})}> |
nothing calls this directly
no outgoing calls
no test coverage detected