-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSify ExplorerWindow/Tabs #7415
base: main
Are you sure you want to change the base?
TSify ExplorerWindow/Tabs #7415
Conversation
@@ -198,19 +217,21 @@ class AddData extends React.Component { | |||
renderPanels() { | |||
const { t } = this.props; | |||
const dropdownTheme = { | |||
// @ts-expect-error FIXME: no Styles.dropdown defined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need help with these, not sure why there isn't a Style.dropdown
and Style.dropdownListIsOpen
defined.
@@ -68,16 +76,17 @@ class MyDataTab extends React.Component { | |||
onClick={() => this.changeTab(tab.id)} | |||
title={tab.caption} | |||
className={classNames(Styles.tabListBtn, { | |||
// @ts-expect-error FIXME: No isActive defined in CssExports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with this, but for Style.isActive
.
74a336d
to
2e62aca
Compare
searchState.catalogSearchProvider | ||
? searchState.catalogSearchProvider | ||
.debounceDurationOnceLoaded | ||
terria.catalogReferencesLoaded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already a check of state.catalogSearchProvider
on line 61, so removed the check on this line.
Also had to shorten searchState
to get pretty to keep the @ts-expect-error
in the right place.
2e62aca
to
3b8ef53
Compare
What this PR does
Test me
I believe this is tested by CI?
Checklist
doc/
.