chore: fix typos (#4877)

* Chore: Fix typos

* Add generated resources

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
Andreas Deininger
2023-08-30 12:27:46 +02:00
committed by GitHub
parent 359bd290ba
commit a0bbc1893b
36 changed files with 52 additions and 53 deletions

View File

@@ -115,7 +115,7 @@ const AddDenominationModal = ({ open, onClose, giftCard }: Props) => {
onSuccess: () => {
notification(
"Denomination added",
"A new denomination was succesfully added",
"A new denomination was successfully added",
"success"
)
handleClose()

View File

@@ -92,7 +92,7 @@ const EditDenominationsModal = ({
onSuccess: () => {
notification(
"Denomination updated",
"A new denomination was succesfully updated",
"A new denomination was successfully updated",
"success"
)
queryClient.invalidateQueries(adminProductKeys.all)

View File

@@ -93,7 +93,7 @@ const ResetTokenCard: React.FC<ResetTokenCardProps> = ({ goBack }) => {
</div>
<div className="gap-y-2xsmall flex flex-col">
<span className="inter-base-regular">
Succesfully sent you an email
Successfully sent you an email
</span>
</div>
</div>

View File

@@ -130,7 +130,7 @@ export const ConditionsProvider = ({
{
onSuccess: () => {
notification(
"Condtions were succesfully added",
"Conditions were successfully added",
"Discount conditions updated",
"success"
)

View File

@@ -53,7 +53,7 @@ const EditGiftCardModal = ({
onSuccess: () => {
notification(
"Updated Gift card",
"Gift card was succesfully updated",
"Gift card was successfully updated",
"success"
)

View File

@@ -62,7 +62,7 @@ const GiftCardDetails = () => {
onSuccess: () => {
notification(
"Updated status",
"Succesfully updated the status of the Gift Card",
"Successfully updated the status of the Gift Card",
"success"
)
},

View File

@@ -94,7 +94,7 @@ const useEditProductActions = (productId: string) => {
const onDeleteVariant = (
variantId: string,
onSuccess?: () => void,
successMessage = "Variant was succesfully deleted"
successMessage = "Variant was successfully deleted"
) => {
deleteVariant.mutate(variantId, {
onSuccess: () => {