Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Apr 10, 2024
1 parent 8748826 commit e032763
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/workspace/WorkspaceInviteMessagePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ function WorkspaceInviteMessagePage({

const {inputCallbackRef} = useAutoFocusInput();

const welcomeNoteSubject = useMemo(() => `# ${currentUserPersonalDetails?.displayName ?? ''} invited you to ${policy?.name ?? 'a workspace'}`, [policy?.name, currentUserPersonalDetails?.displayName]);
const welcomeNoteSubject = useMemo(
() => `# ${currentUserPersonalDetails?.displayName ?? ''} invited you to ${policy?.name ?? 'a workspace'}`,
[policy?.name, currentUserPersonalDetails?.displayName],
);

const getDefaultWelcomeNote = () =>
// workspaceInviteMessageDraft can be an empty string
Expand Down

0 comments on commit e032763

Please sign in to comment.