Skip to content

Commit 0712b30

Browse files
feat: Revamp Settings
Co-authored-by: Sai Rangineeni <SAIRANGINEENI1@GMAIL.COM>
1 parent 172ed18 commit 0712b30

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/pages/settings.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,4 @@ export default function Dashboard() {
223223
</>
224224
);
225225
}
226+

src/pages/settings/general.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import { Footer } from '@/components/Footer';
1313
import { StandardNav } from '@/components/StandardNav';
1414
import Sidebar from '@/components/settingComponents/sidebar';
1515
export default function General(){
16+
17+
1618
const router = useRouter();
1719

1820
const [isPopupOpen, setIsPopupOpen] = useState(false);
@@ -40,7 +42,7 @@ export default function General(){
4042
useEffect(() => {
4143
const fileInput = document.getElementById('fileInput');
4244

43-
// set username
45+
4446
var xhr = new XMLHttpRequest();
4547

4648
xhr.addEventListener('readystatechange', function() {
@@ -133,7 +135,7 @@ export default function General(){
133135
console.log("Failed to upload profile picture");
134136
}
135137
window.location.reload();
136-
138+
console.log('test');
137139
}
138140
);
139141
setIsPopupOpen(false);

0 commit comments

Comments
 (0)