chore: cleanup ts and gitignore

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
environments/review-docs-merge-hoc7bt/deployments/18064
Kasper Seweryn 2023-06-21 22:49:31 +00:00
rodzic 6abaab9290
commit 7f303bf5b9
2 zmienionych plików z 2 dodań i 1 usunięć

1
front/.gitignore vendored
Wyświetl plik

@ -23,5 +23,6 @@ yarn-error.log*
# Bundle anayzer
stats.html
# Cypress
cypress/screenshots
cypress/videos

Wyświetl plik

@ -253,7 +253,7 @@ const store: Module<State, RootState> = {
logger.info('Successfully fetched instance settings')
type SettingsSection = { section: string, name: string }
const sections = response?.data.reduce((map: Record<string, Record<string, SettingsSection>>, entry: SettingsSection) => {
const sections = response.data.reduce((map: Record<string, Record<string, SettingsSection>>, entry: SettingsSection) => {
map[entry.section] ??= {}
map[entry.section][entry.name] = entry
return map