Skip to content

Commit

Permalink
Merge pull request #349 from TogetherCrew/hotfix/copy-changes
Browse files Browse the repository at this point in the history
change copy
  • Loading branch information
cyri113 authored Oct 31, 2024
2 parents 88fc66a + 04da8f3 commit 96c4401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,7 @@ describe('TcHivemindDiscordAnswering', () => {
/>
);
expect(
screen.getByText('Select the data extraction period')
).toBeInTheDocument();
});
it('should render Sync the following data sources', () => {
render(
<TcHivemindDiscordAnswering
platform={mockPlatform}
handleModuleConfigChange={() => jest.fn()}
/>
);
expect(
screen.getByText('Sync the following data sources')
screen.getByText('Select the channels in which the AI assistant can answer questions')
).toBeInTheDocument();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ function TcHivemindDiscordAnswering({
/>
</div>
<div className='h-[23rem] overflow-y-scroll rounded-md border border-gray-400 bg-gray-50 p-4'>
<TcText text='Select the data extraction period' variant='h6' />
<div className='flex items-center justify-between'>
<TcText text='Sync the following data sources' variant='h6' />
<TcText text='Select the channels in which the AI assistant can answer questions' variant='h6' />
<div className='flex items-center justify-end py-1'>
<TcButton
text='Refresh List'
variant='outlined'
Expand Down

0 comments on commit 96c4401

Please sign in to comment.