mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-28 12:23:24 +01:00
island tanks
This commit is contained in:
19 files changed
+138
-222
No files matched your search
@@ -8,7 +8,9 @@ import { embedText } from "./tokens";
|
||||
|
||||
export function useEmbedStateCurry<Config extends EmbedConfig>() {
|
||||
// TODO: find a way to initialize with the correct state preset
|
||||
EmbedState.useInitialization(extractEmbedConfigDefaults(breakdownConfig));
|
||||
EmbedState.useInitialization(() =>
|
||||
extractEmbedConfigDefaults(breakdownConfig),
|
||||
);
|
||||
|
||||
function useEmbedState<Key extends keyof Config>(key: Key) {
|
||||
return EmbedState.use((state) => {
|
||||
|
||||
Reference in new issue
Block a user