File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const HearingSidebar = ({
49
49
generalCourtNumber : string
50
50
hearingDate : string
51
51
} ) => {
52
- const { t } = useTranslation ( "common" )
52
+ const { t } = useTranslation ( [ "common" , "hearing" ] )
53
53
54
54
const dateObject = new Date ( hearingDate )
55
55
const formattedDate = dateObject . toLocaleDateString ( "en-US" , {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export const Transcriptions = ({
51
51
setCurTimeVideo : any
52
52
videoTranscriptionId : string
53
53
} ) => {
54
- const { t } = useTranslation ( "common" )
54
+ const { t } = useTranslation ( [ "common" , "hearing" ] )
55
55
56
56
const vid = videoTranscriptionId || "prevent FirebaseError"
57
57
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default createPage<{ hearingId: number }>({
19
19
export const getServerSideProps : GetServerSideProps = async ctx => {
20
20
ctx . res . setHeader (
21
21
"Cache-Control" ,
22
- "public, s-maxage=10, stale-while-revalidate=10"
22
+ "public, s-maxage=10, stale-while-revalidate=10. "
23
23
)
24
24
25
25
const locale = ctx . locale ?? ctx . defaultLocale ?? "en"
You can’t perform that action at this time.
0 commit comments