File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export function initialize<T = {}>(): PluginInstance<T> {
230230 return ( ) => off ( 'wb:plugin:style:update' , callback ) ;
231231 } ,
232232
233- getStyle ( ) {
233+ get ( ) {
234234 return execPromise ( 'wb:plugin:style:get' ) ;
235235 } ,
236236 } ,
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export function usePluginStyle(): PluginStyle | undefined {
258258
259259 useEffect ( ( ) => {
260260 // Request initial style data on mount and subscribe to updates
261- void client . style . getStyle ( ) . then ( response => setStyle ( response ) ) ;
261+ void client . style . get ( ) . then ( response => setStyle ( response ) ) ;
262262 return client . style . subscribe ( setStyle ) ;
263263 } , [ client ] ) ;
264264
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ export interface PluginInstance<T = any> {
369369 * Request current style from workbook
370370 * @returns Promise with current style
371371 */
372- getStyle ( ) : Promise < PluginStyle > ;
372+ get ( ) : Promise < PluginStyle > ;
373373 } ;
374374
375375 /**
You can’t perform that action at this time.
0 commit comments