Skip to content

Commit 6532843

Browse files
author
Uttam Singh
committed
Fix logo load using window.location.origin path
1 parent 7e8d52f commit 6532843

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

frontend/public/edme_logo.png

9.88 KB
Loading

frontend/src/pages/AdminDashboard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function AdminDashboard() {
107107
>
108108
<div style={styles.navLeft}>
109109
<img
110-
src="/edme_logo.png"
110+
src={`${process.env.PUBLIC_URL}/edme_logo.png`}
111111
alt="FAT-EIBL Logo"
112112
style={{
113113
...styles.logo,

0 commit comments

Comments
 (0)