export const getUserRank = (vestingShares) => {
  const vests = parseFloat(vestingShares, 10);
  let rank = 'Plankton';
  if (vests >= 1000000) {
    rank = 'Minnow';
  } else if (vests >= 10000000) {
    rank = 'Dolphin';
  } else if (vests >= 100000000) {
    rank = 'Orca';
  } else if (vests >= 1000000000) {
    rank = 'Whale';
  }
  return rank;
};

export default null;

@@ -131,24 +131,27 @@
 s %3E= 1000000
+000
 ) %7B%0A    rank
@@ -158,14 +158,13 @@
  = '
-Minnow
+Whale
 ';%0A 
@@ -188,24 +188,25 @@
  %3E= 10000000
+0
 ) %7B%0A    rank
@@ -213,15 +213,12 @@
  = '
-Dolphin
+Orca
 ';%0A 
@@ -238,33 +238,32 @@
 ests %3E= 10000000
-0
 ) %7B%0A    rank = '
@@ -254,36 +254,39 @@
 ) %7B%0A    rank = '
-Orca
+Dolphin
 ';%0A  %7D else if (
@@ -293,35 +293,32 @@
 vests %3E= 1000000
-0
-00
 ) %7B%0A    rank = '
@@ -313,29 +313,30 @@
     rank = '
-Whale
+Minnow
 ';%0A  %7D%0A  ret

Fix rank condition