mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature/frogend] modify local emoji (#1143)
* update danger button red * emoji category and image modification * debug bundles in dev * fix linting error
This commit is contained in:
@ -20,11 +20,15 @@
|
||||
|
||||
const { useComboboxState } = require("ariakit/combobox");
|
||||
|
||||
module.exports = function useComboBoxInput({name, Name}, {validator} = {}) {
|
||||
const state = useComboboxState({ gutter: 0, sameWidth: true });
|
||||
module.exports = function useComboBoxInput({name, Name}, {validator, defaultValue} = {}) {
|
||||
const state = useComboboxState({
|
||||
defaultValue,
|
||||
gutter: 0,
|
||||
sameWidth: true
|
||||
});
|
||||
|
||||
function reset() {
|
||||
state.value = "";
|
||||
state.setValue("");
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user