edited styling of error message

This commit is contained in:
jfrye122
2023-05-22 08:11:29 -04:00
parent 4ebe9a0e47
commit bfe749fc54
2 changed files with 6 additions and 5 deletions

View File

@@ -172,12 +172,13 @@ export function ScreenTimeTicketBrowser({
currentRatesNCostCenters={currentRatesNCostCenters}
onValueSelected={setCurrentSCC}
/>
<Button mode="outlined" loading={loading} onPress={handleFinish}>
<Text>Clock In</Text>
</Button>
{error && error?.message ? (
<ErrorDisplay errorMessage={error.message} />
) : null}
<Button mode="outlined" loading={loading} onPress={handleFinish}>
<Text>Clock In</Text>
</Button>
</Card>
{/* <View style={{ flexGrow: 1, flex: 1 }}>
<EmployeeClockedInList