Upvote:8
You shouldn't have any issues from this. Many people visiting the US (or on work visas) take brief visits to Mexico or Canada. And you returned correctly through a border and were properly admitted. If you didn't get a new admission stamp, you are allowed to remain in the US until the date that was written on your previous admission stamp (or later, if you have applied for and received an extension).
When you leave the US to return to your home country, your departure will again be recorded. There is no exit immigration in the US; instead, the airline will notify CBP that you took a flight leaving the country. In order to return to the US from your home country, your visa must not be expired, or you must obtain a new visa. Returning on an expired visa is only possible if you traveled to Canada or Mexico for 30 days or less, and are still in status.