File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -223,3 +223,4 @@ export default function Dashboard() {
223223 </ >
224224 ) ;
225225}
226+
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import { Footer } from '@/components/Footer';
1313import { StandardNav } from '@/components/StandardNav' ;
1414import Sidebar from '@/components/settingComponents/sidebar' ;
1515export 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 ) ;
You can’t perform that action at this time.
0 commit comments