Skip to content

Commit

Permalink
fix: incorrect hive import
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultec81 committed May 26, 2023
1 parent d1baa25 commit bd2dfcc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/createPost.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'
export async function createPost(postOp) {
switch (postOp.accountType) {
case 'hive': {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/followHandler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'
import ArraySearch from 'arraysearch'
export async function followHandler(profileID, followOp) {
const Finder = ArraySearch.Finder
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/login.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'
import PromiseIPC from 'electron-promise-ipc'
import ArraySearch from 'arraysearch'

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/logout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'
import PromiseIPC from 'electron-promise-ipc'
import ArraySearch from 'arraysearch'

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/postComment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'
import { CommentOp } from '../../../common/models/comments.model'
import PromiseIPC from 'electron-promise-ipc'
import { HiveInfo } from '../../../common/models/hive.model'
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/accountServices/voteHandler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hive } from '@hiveio/hive-js'
import hive from '@hiveio/hive-js'

export async function voteHandler(voteOp) {
switch (voteOp.accountType) {
Expand Down

0 comments on commit bd2dfcc

Please sign in to comment.