fix: 🐛 Settings menu was not updated on language change (#286)
* Fixed bug with translation not updating * fixed linting issues
This commit is contained in:
parent
bf92550b86
commit
6418d6ee42
|
@ -27,12 +27,13 @@ import { ChildListItem } from './childListItem.component'
|
|||
import { SettingsIcon } from './icon.component'
|
||||
|
||||
const colors = ['primary', 'success', 'info', 'warning', 'danger']
|
||||
const settingsOptions = [
|
||||
translate('general.logout'),
|
||||
translate('general.abort'),
|
||||
]
|
||||
|
||||
export const Children = () => {
|
||||
const settingsOptions = [
|
||||
translate('general.logout'),
|
||||
translate('general.abort'),
|
||||
]
|
||||
|
||||
const { api } = useApi()
|
||||
const { data: childList, status, reload } = useChildList()
|
||||
const insets = useSafeAreaInsets()
|
||||
|
|
Loading…
Reference in New Issue