Fixing BlockNote readability darkMode + fixing impossible to create cards for companies without name or domainName (#605)

fix-first-feedbacks
This commit is contained in:
Charles Bochet 2023-07-11 14:33:15 -07:00 committed by GitHub
parent 14caaf298a
commit 4150a7bb51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export function NewButton({ pipelineId, columnId }: OwnProps) {
const handleEntitySelect = useCallback(
async (company: Pick<Company, 'id' | 'name' | 'domainName'>) => {
if (!company || !company.name || !company.domainName) return;
if (!company) return;
setIsCreatingCard(false);
goBackToPreviousHotkeysScope();

View File

@ -12,6 +12,7 @@ const StyledEditor = styled.div`
& .editor {
background: ${({ theme }) => theme.background.primary};
font-size: 13px;
color: ${({ theme }) => theme.font.color.primary};
}
& .editor [class^='_inlineContent']:before {
color: ${({ theme }) => theme.font.color.tertiary};