mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-28 12:23:24 +01:00
soapstone babyyyyy
This commit is contained in:
11 files changed
+23
-15
No files matched your search
@@ -8,8 +8,10 @@ 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),
|
||||
// TODO: move this ssr checking buissness to soapstone
|
||||
import.meta.env.SSR,
|
||||
);
|
||||
|
||||
function useEmbedState<Key extends keyof Config>(key: Key) {
|
||||
|
||||
Reference in new issue
Block a user