diff --git a/frontend/src/scenes/organization/TeamMembers/BulkInviteModal.tsx b/frontend/src/scenes/organization/TeamMembers/BulkInviteModal.tsx index 3520951c299ee..556fabbef715b 100644 --- a/frontend/src/scenes/organization/TeamMembers/BulkInviteModal.tsx +++ b/frontend/src/scenes/organization/TeamMembers/BulkInviteModal.tsx @@ -5,7 +5,7 @@ import React, { useEffect } from 'react' import { userLogic } from 'scenes/userLogic' import { PlusOutlined } from '@ant-design/icons' import './BulkInviteModal.scss' -import { capitalizeFirstLetter, isEmail } from 'lib/utils' +import { isEmail } from 'lib/utils' import { bulkInviteLogic } from './bulkInviteLogic' const PLACEHOLDER_NAMES = ['Jane', 'John'] diff --git a/package.json b/package.json index b41354d58f932..bf24c4a3e1aa3 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,9 @@ "typegen:write": "kea-typegen write", "typegen:check": "kea-typegen check", "typegen:watch": "kea-typegen watch", - "format-python": "black . && isort ." + "format:python": "black . && isort .", + "format:js": "yarn prettier && yarn eslint --fix", + "format": "yarn format:python && yarn format:js" }, "dependencies": { "@babel/core": "^7.10.4", diff --git a/posthog/api/__init__.py b/posthog/api/__init__.py index 09e240d8acde4..15aabd7e80f91 100644 --- a/posthog/api/__init__.py +++ b/posthog/api/__init__.py @@ -49,7 +49,10 @@ def api_not_found(request): r"members", organization_member.OrganizationMemberViewSet, "organization_members", ["organization_id"], ) organizations_router.register( - r"invites\/bulk", organization_invite.OrganizationInviteBulkViewSet, "organization_invites_bulk", ["organization_id"], + r"invites\/bulk", + organization_invite.OrganizationInviteBulkViewSet, + "organization_invites_bulk", + ["organization_id"], ) organizations_router.register( r"invites", organization_invite.OrganizationInviteViewSet, "organization_invites", ["organization_id"],