mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-07 11:09:58 +02:00
refactor feature hooks to be conditionally initialized
This commit is contained in:
@@ -32,6 +32,11 @@ export const useQueueRestoreTimestamp = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export const QueueRestoreTimestampHook = () => {
|
||||
useQueueRestoreTimestamp();
|
||||
return null;
|
||||
};
|
||||
|
||||
export const useSaveQueue = () => {
|
||||
const serverId = useCurrentServerId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user