(refactor:modals) reuse wrapper modal

This commit is contained in:
ManishMadan2882
2025-02-19 04:35:33 +05:30
parent 4e948d8bff
commit 3aa85bb51c
4 changed files with 52 additions and 68 deletions

View File

@@ -73,7 +73,7 @@ export default function CreateAPIKeyModal({
handleFetchPrompts();
}, []);
return (
<WrapperModal close={close}>
<WrapperModal close={close} className='p-4'>
<div className="mb-6">
<span className="text-xl text-jet dark:text-bright-gray">
{t('modals.createAPIKey.label')}