Fixed bug updated gitignore
This commit is contained in:
@@ -39,3 +39,6 @@ yarn-error.log*
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
|
||||
# uploads
|
||||
/public/uploads/
|
||||
|
||||
@@ -555,7 +555,7 @@ export default function AdminPage() {
|
||||
</div>
|
||||
|
||||
<div style={{ paddingTop: '8px' }}>
|
||||
<button className="btn btn-primary" onClick={handleSaveSettings} disabled={savingSettings}>
|
||||
<button className="btn btn-primary" onClick={() => handleSaveSettings()} disabled={savingSettings}>
|
||||
{savingSettings ? 'Saving...' : 'Save Settings'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user