Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
connect(({ firebase: { data } }) => ({
files: getVal(data, 'serviceAccounts/test')
})),
withHandlers({
connect(({ firebase: { data } }) => ({
files: getVal(data, 'serviceAccounts/test')
})),
withStateHandlers(
connect(({ firebase, firestore: { data } }, { params }) => ({
auth: firebase.auth,
project: get(data, `projects.${params.projectId}`),
serviceAccounts: getVal(
firebase,
`data/serviceAccounts/${params.projectId}`
)
})),
withStateHandlers(