Merge branch 'staging' of itcorp.primaya.id:rajif/aso into staging
This commit is contained in:
@@ -53,7 +53,23 @@ export default function LanguagePopover() {
|
|||||||
...(open && { bgcolor: 'action.selected' }),
|
...(open && { bgcolor: 'action.selected' }),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Image disabledEffect src={require(!localStorage.getItem('currentLocale') ? LANGS[0].icon : (localStorage.getItem('currentLocale') === 'id-ID' ? LANGS[0].icon : LANGS[1].icon))} alt={!localStorage.getItem('currentLocale') ? LANGS[0].label : (localStorage.getItem('currentLocale') === 'id-ID' ? LANGS[0].label : LANGS[1].label)} />
|
<Image
|
||||||
|
disabledEffect
|
||||||
|
src={(
|
||||||
|
!localStorage.getItem('currentLocale')
|
||||||
|
? LANGS[0].icon
|
||||||
|
: localStorage.getItem('currentLocale') === 'id-ID'
|
||||||
|
? LANGS[0].icon
|
||||||
|
: LANGS[1].icon
|
||||||
|
)}
|
||||||
|
alt={
|
||||||
|
!localStorage.getItem('currentLocale')
|
||||||
|
? LANGS[0].label
|
||||||
|
: localStorage.getItem('currentLocale') === 'id-ID'
|
||||||
|
? LANGS[0].label
|
||||||
|
: LANGS[1].label
|
||||||
|
}
|
||||||
|
/>
|
||||||
</IconButtonAnimate>
|
</IconButtonAnimate>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,14 @@ export default defineConfig({
|
|||||||
// comment this out if that isn't relevant for your project
|
// comment this out if that isn't relevant for your project
|
||||||
build: {
|
build: {
|
||||||
outDir: 'build',
|
outDir: 'build',
|
||||||
|
chunkSizeWarningLimit: 100,
|
||||||
|
rollupOptions: {
|
||||||
|
onwarn(warning, warn) {
|
||||||
|
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
warn(warning)
|
||||||
|
}}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
|
|||||||
Reference in New Issue
Block a user