We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fee981 commit c9c78cfCopy full SHA for c9c78cf
src/lib/Root.tsx
@@ -33,7 +33,6 @@ export const Root: Component<RootProps> = (p) => {
33
setState('searchText', newValue);
34
},
35
setActionsContext(actionId, newData) {
36
- // @ts-expect-error need to figure out nested store setters.
37
setState('actionsContext', 'dynamic', actionId, newData);
38
39
resetActionsContext(actionId) {
@@ -42,7 +41,7 @@ export const Root: Component<RootProps> = (p) => {
42
41
'dynamic',
43
produce<DynamicContextMap>((dynamicContext) => {
44
delete dynamicContext[actionId];
45
- })
+ }),
46
);
47
48
openPalette() {
0 commit comments