mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 06:26:00 +00:00
use of createRef instead of not working { corrent: xxx }
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
dispatch('click', $values);
|
||||
}
|
||||
|
||||
submitActionRef.current = () => {
|
||||
submitActionRef.set(() => {
|
||||
handleClick();
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
<FormStyledButton type="submit" on:click={handleClick} {...$$props} />
|
||||
|
||||
Reference in New Issue
Block a user