Skip to content

Commit

Permalink
remove unused control radio function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed May 15, 2022
1 parent eda3178 commit 455829a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/component/control/inputButton/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

import * as form from '../../form';


import { get } from '../../../utility/get';
import { set } from '../../../utility/set';
import { convertColor } from '../../../utility/convertColor';
Expand Down
5 changes: 1 addition & 4 deletions src/component/control/radio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ export const Control_radio = function ({

};

this.inputButton = ({
//FIXME deprecated property
inputHide = false //eslint-disable-line
} = {}) => {
this.inputButton = () => {

const wrap = form.wrap();

Expand Down
2 changes: 1 addition & 1 deletion src/utility/applyCSSState.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { state } from '../component/state';
import { get } from './get';

export const applyCSSState = function (path) {
export const applyCSSState = (path) => {

const html = document.querySelector('html');

Expand Down

0 comments on commit 455829a

Please sign in to comment.