Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
idastambuk committed Oct 24, 2023
1 parent 73f93a3 commit 5f00f37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .config/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ const config = async (env): Promise<Configuration> => ({
// handle resolving "rootDir" paths
modules: [path.resolve(process.cwd(), 'src'), 'node_modules'],
unsafeCache: true,
alias: {
react: path.resolve('./node_modules/react'),
'react-dom': path.resolve('./node_modules/react-dom'),
},
},
});

Expand Down
3 changes: 2 additions & 1 deletion cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"varchar",
"viant",
"Workgroups",
"structs"
"structs",
"Collapsable"
]
}
2 changes: 1 addition & 1 deletion src/QueryEditorForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ describe('QueryEditor', () => {
it('should display query options by default', async () => {
render(<QueryEditorForm {...props} />);
// @ts-ignore
const selectEl = screen.getByLabelText(config.featureToggles.awsDatasourcesNewFormStyling ? 'Format dataframes as': 'Format as');
const selectEl = screen.getByLabelText(config.featureToggles.awsDatasourcesNewFormStyling ? 'Format data frames as': 'Format as');
expect(selectEl).toBeInTheDocument();
});
});
Expand Down
4 changes: 2 additions & 2 deletions src/QueryEditorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function QueryEditorForm(props: Props) {
width={15}
label={selectors.components.ConfigEditor.region.input}
data-testid={selectors.components.ConfigEditor.region.wrapper}
htmlFor="schema"
htmlFor="regions"
>
<ResourceSelector
id="regions"
Expand Down Expand Up @@ -177,7 +177,7 @@ export function QueryEditorForm(props: Props) {
</EditorFieldGroup>
{!props.hideOptions && (
<EditorFieldGroup>
<EditorField label="Format dataframes as" htmlFor="formatAs" width={20}>
<EditorField label="Format data frames as" htmlFor="formatAs" width={20}>
<FormatSelect
newFormStylingEnabled={true}
id="formatAs"
Expand Down

0 comments on commit 5f00f37

Please sign in to comment.