Co-authored-by: ricsign <ricsign123@gmail.com> Reviewed-on: #592 Reviewed-by: Amy Wang <a258wang@csclub.uwaterloo.ca> Co-authored-by: Richard Shuai <r2shuai@csclub.uwaterloo.ca> Co-committed-by: Richard Shuai <r2shuai@csclub.uwaterloo.ca>
This commit is contained in:
parent
e5a4ad1b23
commit
3537450395
Binary file not shown.
Before Width: | Height: | Size: 6.3 MiB After Width: | Height: | Size: 1.9 MiB |
|
@ -182,7 +182,7 @@ async function getImage(imgPath: string) {
|
|||
}
|
||||
|
||||
export async function getMemberImagePath(name: string) {
|
||||
const imgPath = path.join("images", "team", name.replace(" ", ""));
|
||||
const imgPath = path.join("images", "team", name.replace(/\s/g, ""));
|
||||
const placeholder = path.join(
|
||||
"images",
|
||||
"team",
|
||||
|
|
Loading…
Reference in New Issue