diff --git a/src/pages/Popup/ProfileSelect.jsx b/src/pages/Popup/ProfileSelect.jsx index a3f7acd..217a43c 100644 --- a/src/pages/Popup/ProfileSelect.jsx +++ b/src/pages/Popup/ProfileSelect.jsx @@ -1,8 +1,8 @@ import React from 'react' +import profiles from '../../utils/profiles' import detachDebugger from '../../utils/detachDebugger' const ProfileSelect = ({ profile, setProfile }) => { - const changeProfile = (e) => { detachDebugger() chrome.storage.sync.set({ @@ -32,35 +32,9 @@ const ProfileSelect = ({ profile, setProfile }) => { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {Object.keys(profiles).map((key) => ( + + ))}