Skip to content

Commit 6275648

Browse files
committed
Fix linter.
Signed-off-by: bgravenorst <[email protected]>
1 parent f6c7268 commit 6275648

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

src/components/ParserOpenRPC/InteractiveBox/templates/BaseInputTemplate.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import { Tooltip } from '@site/src/components/Tooltip'
66
import debounce from 'lodash.debounce'
77
import { ParserOpenRPCContext } from '@site/src/components/ParserOpenRPC'
88

9-
interface ExtendedInputProps extends BaseInputTemplateProps {
9+
interface ExtendedInputProps extends Omit<BaseInputTemplateProps, 'onBlur'> {
1010
isArray?: boolean
11+
onBlur?: (id: string, value: any) => void
1112
[key: string]: any
1213
}
1314

@@ -18,7 +19,7 @@ export const BaseInputTemplate = ({
1819
value = '',
1920
disabled,
2021
onChange,
21-
onBlur: handleBlur,
22+
onBlur,
2223
rawErrors,
2324
hideError,
2425
required,
@@ -96,8 +97,7 @@ export const BaseInputTemplate = ({
9697
}}
9798
onBlur={_e => {
9899
setIsFocused(false)
99-
// @ts-ignore – RJSF passes (id, value) but our local types differ from React handler
100-
handleBlur?.(id, inputValue)
100+
onBlur?.(id, inputValue)
101101
}}
102102
{...rest}
103103
/>

src/components/SidebarVersionDropdown/SidebarVersionDropdown.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
background: var(--general-white);
4040
border: 1px solid var(--general-gray-light);
4141
border-radius: 4px;
42-
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
42+
box-shadow: 0 6px 16px rgb(0 0 0 / 10%);
4343
margin-top: 0.3rem;
4444
padding-bottom: 1rem;
4545
z-index: 100;

src/theme/DocSidebar/Desktop/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@media (min-width: 997px) {
1+
@media (width >= 997px) {
22
.sidebar {
33
display: flex;
44
flex-direction: column;

src/theme/DocSidebarItem/index.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.flaskOnly :global(a.menu__link::after),
22
.flaskOnly :global(.menu__list-item-collapsible a.menu__link::after) {
33
content: 'Flask';
4-
margin-left: 0.5em;
5-
background-color: var(--mm-flask-background-color);
64
color: var(--mm-flask-color);
75
border-radius: 0;
86
margin-left: 1rem;

src/theme/Navbar/Content/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Hide color mode toggle in small viewports
33
*/
4-
@media (max-width: 1196px) {
4+
@media (width <= 1196px) {
55
.colorModeToggle {
66
display: none;
77
}

0 commit comments

Comments
 (0)