Browse Source

dumb typo

Kirk Trombley 5 năm trước cách đây
mục cha
commit
3501610aae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      client/src/store.js

+ 1 - 1
client/src/store.js

@@ -1,6 +1,6 @@
 import { useState, useEffect } from "react";
 
-const nameToHookName = name => "use" + name.chatAt(0).toUpperCase() + name.slice(1);
+const nameToHookName = name => "use" + name.charAt(0).toUpperCase() + name.slice(1);
 
 const shallowEq = (x, y) => x === y;