Skip to content

Commit

Permalink
Fix more circular imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Nov 16, 2023
1 parent 03d7d24 commit 663392c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/introductions/groupsAccessLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export enum GroupsAccessStatus {

export const groupsAccessLogic = kea<groupsAccessLogicType>([
path(['lib', 'introductions', 'groupsAccessLogic']),
connect({
connect(() => ({
values: [teamLogic, ['currentTeam'], preflightLogic, ['preflight'], userLogic, ['hasAvailableFeature']],
}),
})),
selectors({
groupsEnabled: [
(s) => [s.hasAvailableFeature],
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/models/groupsModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export interface Noun {

export const groupsModel = kea<groupsModelType>([
path(['models', 'groupsModel']),
connect({
connect(() => ({
values: [teamLogic, ['currentTeamId'], groupsAccessLogic, ['groupsEnabled', 'groupsAccessStatus']],
}),
})),
loaders(({ values }) => ({
groupTypesRaw: [
[] as Array<GroupType>,
Expand Down

0 comments on commit 663392c

Please sign in to comment.