[Update] Resend Message Button: To be store-able the status.
Move to Appearance settings.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
export { useIsVisibleResendButton } from "./useIsVisibleResendButton";
|
||||
export { useIsMainPageCompactMode } from "./useIsMainPageCompactMode";
|
||||
export { useLanguageSettings } from "./useLanguageSettings";
|
||||
export { useMainFunction } from "./useMainFunction";
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
import { useStore_IsVisibleResendButton } from "@store";
|
||||
|
||||
export const useIsVisibleResendButton = () => {
|
||||
const { currentIsVisibleResendButton, updateIsVisibleResendButton } = useStore_IsVisibleResendButton();
|
||||
|
||||
const toggleIsVisibleResendButton = () => {
|
||||
updateIsVisibleResendButton(!currentIsVisibleResendButton.data);
|
||||
};
|
||||
|
||||
return {
|
||||
currentIsVisibleResendButton,
|
||||
toggleIsVisibleResendButton,
|
||||
updateIsVisibleResendButton,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user