Improve snackbar and fix sentry (#7181)
- Improve snackbar to enable displaying multi-line message (so far we only displayed the first few words which was very frustrating) - Followup on previous issue to enable tim@apple.dev on the demo workspace (prefilled automatically) - Fix sentry tracing which had been broken when migrating from v7 to v8
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
import { useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import { useCallback } from 'react';
|
||||
import {
|
||||
Controller,
|
||||
@ -5,9 +8,6 @@ import {
|
||||
useFieldArray,
|
||||
useForm,
|
||||
} from 'react-hook-form';
|
||||
import { useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import { Key } from 'ts-key-enum';
|
||||
import { IconCopy } from 'twenty-ui';
|
||||
@ -101,15 +101,15 @@ export const InviteTeam = () => {
|
||||
|
||||
const getPlaceholder = (emailIndex: number) => {
|
||||
if (emailIndex === 0) {
|
||||
return 'tim@apple.dev';
|
||||
return 'tim@apple.com';
|
||||
}
|
||||
if (emailIndex === 1) {
|
||||
return 'craig@apple.dev';
|
||||
return 'phil@apple.com';
|
||||
}
|
||||
if (emailIndex === 2) {
|
||||
return 'mike@apple.dev';
|
||||
return 'jony@apple.com';
|
||||
}
|
||||
return 'phil@apple.dev';
|
||||
return 'craig@apple.com';
|
||||
};
|
||||
|
||||
const copyInviteLink = () => {
|
||||
|
||||
Reference in New Issue
Block a user