File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const client = createPublicClient({
99} )
1010
1111const hook : ShortcutsHook = {
12- getShortcutDefinitions ( _network ?: string , _address ?: string ) {
12+ async getShortcutDefinitions ( _network ?: string , _address ?: string ) {
1313 return [
1414 {
1515 id : 'claim-reward' ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const client = createPublicClient({
99} )
1010
1111const hook : ShortcutsHook = {
12- getShortcutDefinitions ( _network ?: string , _address ?: string ) {
12+ async getShortcutDefinitions ( _network ?: string , _address ?: string ) {
1313 return [
1414 {
1515 id : 'claim-reward' ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export interface ShortcutsHook {
22 getShortcutDefinitions (
33 network ?: string ,
44 address ?: string ,
5- ) : ShortcutDefinition [ ]
5+ ) : Promise < ShortcutDefinition [ ] >
66}
77
88export interface ShortcutDefinition {
You can’t perform that action at this time.
0 commit comments