浏览代码

dumb typo

Kirk Trombley 5 年之前
父节点
当前提交
3501610aae
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;