Remove the 'Cancel' button from the Settings pages suggested in #140
This commit is contained in:
parent
75394eed7e
commit
df88919d15
2 changed files with 1 additions and 7 deletions
|
@ -74,9 +74,6 @@ export default function Settings(props) {
|
||||||
</div>
|
</div>
|
||||||
<hr className="mt-8" />
|
<hr className="mt-8" />
|
||||||
<div className="py-4 flex justify-end">
|
<div className="py-4 flex justify-end">
|
||||||
<button type="button" className="bg-white border border-gray-300 rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
|
||||||
Cancel
|
|
||||||
</button>
|
|
||||||
<button type="submit" className="ml-2 bg-blue-600 border border-transparent rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
<button type="submit" className="ml-2 bg-blue-600 border border-transparent rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
||||||
Save
|
Save
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -145,9 +145,6 @@ export default function Settings(props) {
|
||||||
</div>
|
</div>
|
||||||
<hr className="mt-8" />
|
<hr className="mt-8" />
|
||||||
<div className="py-4 flex justify-end">
|
<div className="py-4 flex justify-end">
|
||||||
<button type="button" className="bg-white border border-gray-300 rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
|
||||||
Cancel
|
|
||||||
</button>
|
|
||||||
<button type="submit" className="ml-2 bg-blue-600 border border-transparent rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
<button type="submit" className="ml-2 bg-blue-600 border border-transparent rounded-md shadow-sm py-2 px-4 inline-flex justify-center text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
||||||
Save
|
Save
|
||||||
</button>
|
</button>
|
||||||
|
@ -181,4 +178,4 @@ export async function getServerSideProps(context) {
|
||||||
return {
|
return {
|
||||||
props: {user}, // will be passed to the page component as props
|
props: {user}, // will be passed to the page component as props
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue